From 3e77615692eeb7dc890ce70a7df7ed1c232082af Mon Sep 17 00:00:00 2001 From: Saulius Grigaitis Date: Fri, 22 Mar 2024 19:04:10 +0200 Subject: [PATCH] Added basic Github workflow build #20 --- .github/workflows/ci.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8d8a040..b775ca1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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