Set compiler in CI to 1.78

This commit is contained in:
Natsu Kagami 2024-08-04 22:29:26 +02:00 committed by Natsu Kagami
parent 8b40d8a56b
commit 054a7d5862

View file

@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable toolchain: 1.78.0
components: rustfmt components: rustfmt
- name: Run rustfmt - name: Run rustfmt
run: cargo fmt -- --check run: cargo fmt -- --check
@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@stable
id: cargo id: cargo
with: with:
toolchain: stable toolchain: 1.78.0
components: clippy components: clippy
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
@ -51,10 +51,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@stable
id: cargo id: cargo
with: with:
toolchain: stable toolchain: 1.78.0
components: clippy components: clippy
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
@ -75,10 +75,10 @@ jobs:
- uses: cachix/install-nix-action@v27 - uses: cachix/install-nix-action@v27
with: with:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@stable
id: cargo id: cargo
with: with:
toolchain: stable toolchain: 1.78.0
components: clippy components: clippy
- uses: cachix/cachix-action@v15 - uses: cachix/cachix-action@v15
with: with: