Skip to content

Commit

Permalink
Install Necessary Components in CI Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag committed Nov 4, 2022
1 parent d22664f commit ee90eac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
name: Check Rust formatting
steps:
- uses: actions/checkout@v3
- name: Install Rustfmt
uses: actions-rs/toolchain@v1
with:
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand Down Expand Up @@ -41,9 +45,13 @@ jobs:
if: matrix.config.target == 'wasm32-unknown-unknown'
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.config.target }}
components: clippy
- name: Install Clippy
if: matrix.config.target != 'wasm32-unknown-unknown'
uses: actions-rs/toolchain@v1
with:
components: clippy
- uses: actions/cache@v3
with:
path: |
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.64.0
2 changes: 0 additions & 2 deletions rust-toolchain.toml

This file was deleted.

0 comments on commit ee90eac

Please sign in to comment.