Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump Action workflow versions #323

Merged
merged 8 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/aardwolf-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,25 @@ concurrency:
cancel-in-progress: true

jobs:

cargo-build:
runs-on: ubuntu-latest

steps:

- name: Checkout
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4 # Marketplace - https://github.com/marketplace/actions/checkout
# Installs the most recent stable rust toolchain as of the specified time
# offset, which may be written in years, months, weeks, or days.
- uses: dtolnay/rust-toolchain@master

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy

- name: Cache dependencies
uses: actions/cache@v3.3.1
uses: actions/cache@v4
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
Expand Down Expand Up @@ -68,4 +71,4 @@ jobs:

# Run cargo build
- name: Cargo build aardwolf
run: cargo build
run: cargo build
4 changes: 2 additions & 2 deletions .github/workflows/aardwolf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout the originating branch
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}

# Cache dependencies
- name: Cache dependencies
uses: actions/cache@v3.3.1
uses: actions/cache@v4
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4 # Marketplace - https://github.com/marketplace/actions/checkout

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1 # Marketplace - https://github.com/marketplace/actions/rust-toolchain
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@master # Marketplace - https://github.com/marketplace/actions/rustup-toolchain-install
with:
profile: minimal
toolchain: stable
components: clippy
override: true
components: rustfmt, clippy

- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
Expand Down
Loading
Loading