Skip to content

Commit

Permalink
chore(dependabot): move rust toolchain to toml format (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Nov 1, 2024
1 parent a8196f1 commit 961913c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
~/work/_temp/_github_home/.cargo/registry
~/work/_temp/_github_home/.cargo/git
target
key: ${{ github.job }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ github.job }}-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ github.job }}-${{ hashFiles('rust-toolchain') }}-${{ hashFiles('**/Cargo.lock') }}
${{ github.job }}-${{ hashFiles('rust-toolchain') }}-
${{ github.job }}-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}
${{ github.job }}-${{ hashFiles('rust-toolchain.toml') }}-
- name: Build
uses: ./ci/github-actions/arch-run
Expand Down Expand Up @@ -56,12 +56,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1.0.7
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
components: rustfmt
override: 'true'
default: 'true'

- name: Check code formatting
run: cargo fmt -- --check
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.65.0"

0 comments on commit 961913c

Please sign in to comment.