Skip to content

Commit

Permalink
Update GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsso committed Dec 14, 2023
1 parent e3a64f2 commit 698fb43
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,26 @@ on:
paths-ignore:
- '**/README.md'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
toolchain: stable
target: wasm32-unknown-unknown

jobs:
build:
runs-on: ubuntu-latest
env:
SCCACHE_CACHE_SIZE: "60G"
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Install Wasm toolchain
run: rustup target add wasm32-unknown-unknown
- uses: actions/checkout@v4
- name: Install protobuf-compiler
run: |
sudo apt-get install protobuf-compiler
- name: Install Rust stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.toolchain }}
components: rustfmt, clippy
target: ${{ env.target }}
- name: Check format
run: make dev-format-check
- name: Install clippy
Expand Down

0 comments on commit 698fb43

Please sign in to comment.