Skip to content

Commit

Permalink
ci(gh-actions): replace the action to setup rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Jun 23, 2024
1 parent 355650f commit 8241fb7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1.0.3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.77.2
components: cargo, rustc, rust-std
- run: cargo build
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1.0.3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.77.2
components: rustfmt
- run: cargo fmt --all -- --check
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1.0.3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.77.2
components: cargo
- run: cargo publish --token ${{ secrets.CRATES_IO_ACCESS_KEY }}

0 comments on commit 8241fb7

Please sign in to comment.