Skip to content

Commit

Permalink
Merge pull request #1102 from plebhash/roles-lock-ci
Browse files Browse the repository at this point in the history
add `lockfiles.yaml` + rm and gitignore some unnecessary lockfiles
  • Loading branch information
plebhash authored Aug 28, 2024
2 parents 1c5e464 + 5e282a4 commit 894913e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2,958 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lockfiles.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea
*/**/target
/protocols/guix-example/guix-example.h
/protocols/Cargo.lock
/benches/Cargo.lock
/ignore
/vendor/ed25519-dalek/target
/utils/buffer/target
Expand Down
Loading

0 comments on commit 894913e

Please sign in to comment.