Skip to content

Commit

Permalink
[rust] adding rust-toolchain.toml with 1.73.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Nov 24, 2023
1 parent a0807fb commit 3e4141d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/anchor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
# from https://github.com/ochaloup/projectserum-build-docker
container: docker.io/ochaloup/projectserum-build:v0.29.0_sol1.16.17_avm
container: docker.io/ochaloup/projectserum-build:v0.29.0_sol1.16.20_rust1.73.0_avm
steps:
- name: /root/.cargo to PATH
run: |
Expand All @@ -33,7 +33,9 @@ jobs:
version: 8

- name: Set nightly toolchain
run: rustup default nightly
run: |
rustup default nightly
cargo +stable fmt
- name: List rustup toolchains
run: rustup toolchain list
- name: Check solana config
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/typescript-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
with:
version: 8

- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.73.0
with:
components: rustfmt, clippy

- run: pnpm install
- run: pnpm lint
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.73.0"
targets = [ "wasm32-unknown-unknown" ]

0 comments on commit 3e4141d

Please sign in to comment.