Skip to content

Commit 3e77615

Browse files
Added basic Github workflow build #20
1 parent e2c6ff8 commit 3e77615

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,19 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Install packages
13-
run: sudo scripts/ci/install.sh
14-
- name: Build
15-
run: scripts/ci/ci.sh
11+
- uses: actions/checkout@v4
12+
with:
13+
submodules: true
14+
lfs: true
15+
# - name: Git lfs pull
16+
# working-directory: consensus-spec-tests
17+
# run: git lfs pull
18+
- name: Install Rust
19+
run: rustup toolchain install stable --profile minimal
20+
- uses: Swatinem/rust-cache@v2
21+
- name: Run formatter
22+
run: cargo fmt --check
23+
- name: Run clippy
24+
run: bash scripts/ci/clippy.bash
25+
- name: Run tests
26+
run: cargo test --release

0 commit comments

Comments
 (0)