Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
Pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 17, 2023
1 parent c53c267 commit c5d5f6e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-and-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
with:
toolchain: stable
target: ${{ env.RUST_TARGET }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2
- name: Install cargo tarpaulin
run: cargo install cargo-tarpaulin
- uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1
with:
command: build
use-cross: ${{ env.CARGO_USE_CROSS}}
args: --release --target=${{ env.RUST_TARGET }}
- uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1
name: Generate coverage
with:
command: tarpaulin
args: --out Xml
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
if: always()
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: target
path: target/**/${{ env.BINARY_NAME }}
Expand All @@ -63,14 +63,14 @@ jobs:
needs: build
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: ./packaging
bundler-cache: true
- name: Download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3
- name: Set binary as executable
run: |
find target -name ${{ env.BINARY_NAME }} -exec chmod +x {} \;
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
APP_URL: https://github.com/${{ github.repository }}
DEB_ARCH: ${{ env.PACKAGE_ARCH }}
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: deb-package
path: "packaging/*.deb"
Expand All @@ -118,7 +118,7 @@ jobs:
needs: build-package
steps:
- name: Download build artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3
with:
name: deb-package
- name: Upload to Apt repo
Expand Down

0 comments on commit c5d5f6e

Please sign in to comment.