Skip to content

Commit

Permalink
Upgrade to 1.67 Rust
Browse files Browse the repository at this point in the history
- update Cargo deps
  • Loading branch information
tyranron committed Jan 27, 2023
1 parent 940a3ec commit dd49a7f
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 194 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
&& !startsWith(github.ref, 'refs/tags/v')
&& !contains(github.event.head_commit.message, '[fresh ci]') }}
RUST_BACKTRACE: 1
RUST_VER: "1.66"
RUST_VER: "1.67"

jobs:

Expand Down Expand Up @@ -57,7 +57,6 @@ jobs:
with:
toolchain: ${{ env.RUST_VER }}
components: clippy
- run: rustup default ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

Expand Down Expand Up @@ -102,14 +101,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ env.RUST_VER }}
- run: rustup default ${{ env.RUST_VER }}
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
components: rust-src
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

Expand All @@ -131,7 +129,6 @@ jobs:
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ env.RUST_VER }}
- run: rustup default ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}
- uses: satackey/action-docker-layer-caching@v0.0.11
Expand Down Expand Up @@ -169,9 +166,6 @@ jobs:
toolchain: ${{ (matrix.toolchain == 'stable' && env.RUST_VER)
|| matrix.toolchain }}
components: rust-src
- run: rustup default
${{ (matrix.toolchain == 'stable' && env.RUST_VER)
|| matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

Expand Down Expand Up @@ -217,7 +211,6 @@ jobs:
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ env.RUST_VER }}
- run: rustup default ${{ env.RUST_VER }}
- uses: Swatinem/rust-cache@v2
if: ${{ env.CACHE == 'true' }}

Expand Down
Loading

0 comments on commit dd49a7f

Please sign in to comment.