Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
chore(ci): fix hardcoded tag and add dependabot
Samir Hossains504f73588b71
diff --git a/.github/dependabot.yml b/.github/dependabot.ymlnew file mode 100644index 0000000..0c08621--- /dev/null+++ b/.github/dependabot.yml@@ -0,0 +1,13 @@+version: 2+updates:+ - package-ecosystem: cargo+ directory: /+ schedule:+ interval: weekly+ open-pull-requests-limit: 5++ - package-ecosystem: github-actions+ directory: /+ schedule:+ interval: weekly+ open-pull-requests-limit: 5diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 9c2fcda..eab3f04 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -19,21 +19,18 @@ jobs:with:toolchain: 1.90.0components: rustfmt, clippy+ - uses: Swatinem/rust-cache@82a92a6e8fbc08259452af873d75fb0b04a8b846 # v2+ with:+ prefix-key: "ci-quality"- run: cargo fmt --check- run: cargo clippy --all-targets --locked -- -D warnings- name: Audit dependenciesif: matrix.os == 'ubuntu-latest'- run: cargo install cargo-audit --locked && cargo audit+ uses: taiki-e/install-action@v2+ with:+ tool: cargo-audit+ - if: matrix.os == 'ubuntu-latest'+ run: cargo audit- name: Verify packageif: matrix.os == 'ubuntu-latest'run: cargo package --locked-- msrv:- name: Rust 1.90 compatibility- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4- - uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable- with:- toolchain: 1.90.0- - run: cargo check --all-targets --lockeddiff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 192b606..c6ad141 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -17,7 +17,7 @@ jobs:- name: Determine Refid: refrun: |- REF="${{ github.event.inputs.tag || github.event.release.tag_name || 'v0.1.8' }}"+ REF="${{ github.event.inputs.tag || github.event.release.tag_name || github.ref_name }}"echo "target_ref=$REF" >> $GITHUB_OUTPUT- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 3b39eee..ebc81a8 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -46,9 +46,15 @@ jobs:with:toolchain: 1.90.0components: rustfmt, clippy+ - uses: Swatinem/rust-cache@82a92a6e8fbc08259452af873d75fb0b04a8b846 # v2+ with:+ prefix-key: "release-quality"- run: cargo fmt --check- run: cargo clippy --all-targets --locked -- -D warnings- - run: cargo install cargo-audit --locked && cargo audit+ - uses: taiki-e/install-action@v2+ with:+ tool: cargo-audit+ - run: cargo audit- run: cargo package --locked- uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stablewith:@@ -86,9 +92,19 @@ jobs:toolchain: 1.90.0targets: ${{ matrix.target }}+ - uses: Swatinem/rust-cache@82a92a6e8fbc08259452af873d75fb0b04a8b846 # v2+ with:+ prefix-key: "release-build-${{ matrix.target }}"++ - name: Install cross+ if: matrix.os == 'ubuntu-latest'+ uses: taiki-e/install-action@v2+ with:+ tool: cross+- name: Build Linux binaryif: matrix.os == 'ubuntu-latest'- run: cargo install cross --locked && cross build --release --locked --target ${{ matrix.target }}+ run: cross build --release --locked --target ${{ matrix.target }}- name: Build macOS or Windows binaryif: matrix.os != 'ubuntu-latest'