From 3ad228fc30c91a13da57687c1917a048c605cfd3 Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Tue, 3 Oct 2023 16:19:50 -0400 Subject: [PATCH] chore(spec): add spec tests to workflow --- .github/workflows/compliance.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/compliance.yaml diff --git a/.github/workflows/compliance.yaml b/.github/workflows/compliance.yaml new file mode 100644 index 000000000..5f9941347 --- /dev/null +++ b/.github/workflows/compliance.yaml @@ -0,0 +1,29 @@ +on: + push: + branches: + - main + pull_request: + +name: ci +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + - name: Install protobuf + run: sudo apt-get -y install protobuf-compiler + - name: Install toolchain + uses: dtolnay/rust-toolchain@stable + with: + components: clippy + toolchain: 1.71.0 + - name: Install toolchain (nightly) + run: rustup toolchain add nightly --component rustfmt --profile minimal + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + - name: Run spec tests + run: ./test/spec-tests/ci/run-spec-tests.sh