Skip to content

Commit 894913e

Browse files
authored
Merge pull request #1102 from plebhash/roles-lock-ci
add `lockfiles.yaml` + rm and gitignore some unnecessary lockfiles
2 parents 1c5e464 + 5e282a4 commit 894913e

File tree

4 files changed

+32
-2958
lines changed

4 files changed

+32
-2958
lines changed

.github/workflows/lockfiles.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Lockfiles
2+
3+
# Trigger the workflow on push or pull request events for the dev and main branches
4+
on:
5+
push:
6+
branches:
7+
- dev
8+
- main
9+
pull_request:
10+
branches:
11+
- dev
12+
- main
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: Install Rust
22+
uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: stable
25+
override: true
26+
27+
- name: Build with locked dependencies
28+
run: |
29+
cargo build --manifest-path=roles/Cargo.toml --locked
30+
cargo build --manifest-path=utils/Cargo.toml --locked

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.idea
22
*/**/target
33
/protocols/guix-example/guix-example.h
4+
/protocols/Cargo.lock
5+
/benches/Cargo.lock
46
/ignore
57
/vendor/ed25519-dalek/target
68
/utils/buffer/target

0 commit comments

Comments
 (0)