From 24d649814b1a79339ac0752b8e5c5d1fd4ccec6b Mon Sep 17 00:00:00 2001 From: plebhash Date: Wed, 14 Aug 2024 17:12:20 -0300 Subject: [PATCH] add roles-lockfile.yaml --- .github/workflows/lockfiles.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/lockfiles.yaml diff --git a/.github/workflows/lockfiles.yaml b/.github/workflows/lockfiles.yaml new file mode 100644 index 0000000000..e87f016a7e --- /dev/null +++ b/.github/workflows/lockfiles.yaml @@ -0,0 +1,30 @@ +name: Lockfiles + +# Trigger the workflow on push or pull request events for the dev and main branches +on: + push: + branches: + - dev + - main + pull_request: + branches: + - dev + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Build with locked dependencies + run: | + cargo build --manifest-path=roles/Cargo.toml --locked + cargo build --manifest-path=utils/Cargo.toml --locked \ No newline at end of file