From 33faa5d3101ac32b3887059b3e836c5c15eaeea5 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 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..cb757e45db --- /dev/null +++ b/.github/workflows/lockfiles.yaml @@ -0,0 +1,31 @@ +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=benches/Cargo.toml --locked + cargo build --manifest-path=roles/Cargo.toml --locked + cargo build --manifest-path=utils/Cargo.toml --locked \ No newline at end of file