Skip to content

Commit

Permalink
Added basic Github workflow build #20
Browse files Browse the repository at this point in the history
  • Loading branch information
sauliusgrigaitis committed Mar 22, 2024
1 parent e2c6ff8 commit 3e77615
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install packages
run: sudo scripts/ci/install.sh
- name: Build
run: scripts/ci/ci.sh
- uses: actions/checkout@v4
with:
submodules: true
lfs: true
# - name: Git lfs pull
# working-directory: consensus-spec-tests
# run: git lfs pull
- name: Install Rust
run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Run formatter
run: cargo fmt --check
- name: Run clippy
run: bash scripts/ci/clippy.bash
- name: Run tests
run: cargo test --release

0 comments on commit 3e77615

Please sign in to comment.