mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 13:30:39 +00:00
Use axum-macros/rust-toolchain file in ci (#1939)
This commit is contained in:
parent
de7dc69eeb
commit
018d65da14
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…
x
Reference in New Issue
Block a user