From 4b4f2d6ad9f4618369b9235ec936ca429939c1d2 Mon Sep 17 00:00:00 2001 From: Wesley Norris Date: Tue, 16 Apr 2024 19:39:19 -0400 Subject: [PATCH] chore: try updating github actions --- .github/workflows/lint.yml | 24 ++++++++---------------- .github/workflows/test.yml | 16 ++++++---------- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 900f258..ca37166 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ on: [push, pull_request] - + name: Rust Lint jobs: @@ -8,20 +8,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: - fail-fast: false - matrix: - os: ["macos-latest", "ubuntu-latest", "windows-latest"] + fail-fast: false + matrix: + os: ["macos-latest", "ubuntu-latest", "windows-latest"] steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal - toolchain: stable - override: true components: clippy - name: Run clippy @@ -32,15 +29,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + uses: dtolnay/rust-toolchain@stable - name: Formatting check run: cargo fmt --all -- --check - \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec7adb4..2a0a7ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,20 +8,16 @@ jobs: runs-on: ${{ matrix.os }} strategy: - fail-fast: false - matrix: - os: ["macos-latest", "ubuntu-latest", "windows-latest"] + fail-fast: false + matrix: + os: ["macos-latest", "ubuntu-latest", "windows-latest"] steps: - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + uses: dtolnay/rust-toolchain@stable - name: Run cargo test - run: cargo test --all-targets --all-features \ No newline at end of file + run: cargo test --all-targets --all-features