From e0279d35ca14aa8c49095007b91ee8a179d916bd 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/roles-lockfile.yaml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/roles-lockfile.yaml diff --git a/.github/workflows/roles-lockfile.yaml b/.github/workflows/roles-lockfile.yaml new file mode 100644 index 0000000000..6e1af89fb5 --- /dev/null +++ b/.github/workflows/roles-lockfile.yaml @@ -0,0 +1,28 @@ +name: Roles Lockfile + +# 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 \ No newline at end of file