mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 07:08:16 +01:00
Use axum-macros/rust-toolchain file in ci (#1939)
This commit is contained in:
parent
de7dc69eeb
commit
018d65da14
1 changed files with 4 additions and 2 deletions
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
|
@ -86,10 +86,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Get rust-toolchain version
|
||||
id: rust-toolchain
|
||||
run: echo "version=$(cat axum-macros/rust-toolchain)" >> $GITHUB_OUTPUT
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
# same as `axum-macros/rust-toolchain`
|
||||
toolchain: nightly-2022-11-18
|
||||
toolchain: ${{ steps.rust-toolchain.outputs.version }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Run nightly tests
|
||||
working-directory: axum-macros
|
||||
|
|
Loading…
Reference in a new issue