Skip to content

Commit 04c97e2

Browse files
authored
ci: update actions (#26)
* ci: update `actions/checkout` to v5 * ci: update `actions/setup-node` to v6 * ci: update `actions/upload-artifact` to v5 * ci: update `codeql` actions to v4
1 parent e461dec commit 04c97e2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v5
2929
with:
3030
persist-credentials: false
3131

32-
- uses: actions/setup-node@v3
32+
- uses: actions/setup-node@v6
3333

3434
- run: npx prettier --check .
3535
test:
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ${{ matrix.os }}
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v5
4545
with:
4646
persist-credentials: false
4747

@@ -52,7 +52,7 @@ jobs:
5252
bundler-cache: true
5353
- run: bundle exec rspec
5454
- name: Archive spec outputs
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v5
5656
if: success() || failure()
5757
with:
5858
name: rspec-output-coverage-${{ matrix.os }}-${{ matrix.ruby }}
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
steps:
6464
- name: Checkout
65-
uses: actions/checkout@v3
65+
uses: actions/checkout@v5
6666
with:
6767
persist-credentials: false
6868

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
name: Analyze
2626
runs-on: ubuntu-latest
2727
permissions:
28-
actions: read
29-
contents: read
3028
security-events: write
3129

3230
strategy:
@@ -38,11 +36,11 @@ jobs:
3836

3937
steps:
4038
- name: Checkout repository
41-
uses: actions/checkout@v3
39+
uses: actions/checkout@v5
4240

4341
# Initializes the CodeQL tools for scanning.
4442
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
43+
uses: github/codeql-action/init@v4
4644
with:
4745
languages: ${{ matrix.language }}
4846
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +53,7 @@ jobs:
5553
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5654
# If this step fails, then you should remove it and run the build manually (see below)
5755
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v2
56+
uses: github/codeql-action/autobuild@v4
5957

6058
# ℹ️ Command-line programs to run using the OS shell.
6159
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -68,4 +66,6 @@ jobs:
6866
# ./location_of_script_within_repo/buildscript.sh
6967

7068
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v2
69+
uses: github/codeql-action/analyze@v4
70+
with:
71+
category: '/language:${{ matrix.language }}'

0 commit comments

Comments
 (0)