Skip to content

upgrade GH actions #5855

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

Merged
merged 1 commit into from
Feb 28, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
- uses: actions/checkout@v4
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 #v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# https://github.com/smorimoto/tune-github-hosted-runner-network/blob/main/action.yml
run: sudo ethtool -K eth0 tx off rx off
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
# Don't use the rust-cache as it leads to 'no space left on device' errors
# - uses: Swatinem/rust-cache@v2
- name: Install lld
Expand Down Expand Up @@ -86,10 +86,10 @@ jobs:
# https://github.com/smorimoto/tune-github-hosted-runner-network/blob/main/action.yml
run: sudo ethtool -K eth0 tx off rx off
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node 20
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20"
cache: yarn
Expand Down Expand Up @@ -137,11 +137,11 @@ jobs:
# https://github.com/smorimoto/tune-github-hosted-runner-network/blob/main/action.yml
run: sudo ethtool -K eth0 tx off rx off
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2

- name: Install Node 20
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20"
cache: yarn
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Check formatting
uses: actions-rs/cargo@v1
Expand All @@ -196,7 +196,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Unlike rustfmt, Clippy actually compiles stuff so it benefits from
# caching.
- uses: Swatinem/rust-cache@v2
Expand All @@ -214,7 +214,7 @@ jobs:
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install Node 14
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "14"
cache: yarn
Expand All @@ -62,12 +62,12 @@ jobs:

- name: Generate code coverage
run: cargo llvm-cov --package graph-tests --lcov --output-path lcov.info -- --nocapture
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: code-coverage-info
path: lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
# No token needed, because the repo is public.
files: lcov.info
Expand Down
Loading