Skip to content

Commit ad3aafe

Browse files
committed
Update GitHub Actions
1 parent d5b3fc1 commit ad3aafe

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v3
1616
- run: npm ci --no-fund
1717
- run: npm run lint
@@ -39,7 +39,7 @@ jobs:
3939
- [14, "latest"]
4040
- [15, "latest"]
4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343
- name: Setup Node.js ${{ matrix.node-version }}
4444
uses: actions/setup-node@v3
4545
with:
@@ -71,10 +71,10 @@ jobs:
7171
if: ${{ github.ref == 'refs/heads/master' }}
7272
runs-on: ubuntu-latest
7373
steps:
74-
- uses: actions/checkout@v3
74+
- uses: actions/checkout@v4
7575
with:
7676
fetch-depth: 0
77-
- uses: FantasticFiasco/action-update-license-year@v2
77+
- uses: FantasticFiasco/action-update-license-year@v3
7878
with:
7979
token: ${{ secrets.GITHUB_TOKEN }}
8080
id: license

.github/workflows/security.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
contents: read
2222
security-events: write
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Install dependencies
2626
run: npm ci --no-fund
2727
- name: Run ESLint
@@ -41,7 +41,7 @@ jobs:
4141
contents: read
4242
security-events: write
4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v4
4545
- name: Initialize CodeQL
4646
uses: github/codeql-action/init@v2
4747
with:
@@ -57,15 +57,15 @@ jobs:
5757
permissions:
5858
pull-requests: read # Allows SonarCloud to decorate PRs with analysis results.
5959
steps:
60-
- uses: actions/checkout@v3
60+
- uses: actions/checkout@v4
6161
with:
6262
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis.
6363
- name: Install dependencies
6464
run: npm ci --no-fund
6565
- name: Test and coverage
6666
run: npm run test
6767
- name: SonarCloud Scan
68-
uses: SonarSource/sonarcloud-github-action@v1.6
68+
uses: SonarSource/sonarcloud-github-action@master
6969
if: success() || failure() # Run this step even if previous step failed.
7070
env:
7171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -83,7 +83,7 @@ jobs:
8383
name: Run Codecov
8484
runs-on: ubuntu-latest
8585
steps:
86-
- uses: actions/checkout@v3
86+
- uses: actions/checkout@v4
8787
with:
8888
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis.
8989
- name: Install dependencies

0 commit comments

Comments
 (0)