Skip to content

Commit a215c4f

Browse files
updateclibot[bot]updateclibot
andauthored
deps(github/action): bump all dependencies (#1007)
* chore: deps(github): bump Action tag for actions/checkout from v4 to ... ... v6.0.2 Made with ❤️️ by updatecli * chore: deps(github): bump Action release for actions/setup-node from ... ... v4.4.0 to v6.1.0 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for actions/upload-artifact from... ... v4 to v6.0.0 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for actions/checkout from v4 to ... ... v6.0.2 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for github/codeql-action/init fr... ... om v3 to v4.31.10 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for github/codeql-action/autobui... ... ld from v3 to v4.31.10 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for github/codeql-action/analyze... ... from v3 to v4.31.10 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for release-drafter/release-draf... ... ter from v6 to v6.1.0 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for actions/checkout from v4 to ... ... v6.0.2 Made with ❤️️ by updatecli * chore: deps(github): bump Action release for actions/setup-node from ... ... v4.4.0 to v6.1.0 Made with ❤️️ by updatecli * chore: deps(github): bump Action tag for actions/checkout from v4 to ... ... v6.0.2 Made with ❤️️ by updatecli --------- Co-authored-by: updateclibot <bot@updatecli.io>
1 parent 0f8a012 commit a215c4f

File tree

4 files changed

+46
-75
lines changed

4 files changed

+46
-75
lines changed

.github/workflows/check-dist.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# For our project, we generate this file through a build process from other source files.
55
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
66
name: Check dist/
7-
87
on:
98
merge_group:
109
branches:
@@ -18,26 +17,20 @@ on:
1817
paths-ignore:
1918
- '**.md'
2019
workflow_dispatch:
21-
2220
jobs:
2321
check-dist:
2422
runs-on: ubuntu-latest
25-
2623
steps:
27-
- uses: actions/checkout@v4
28-
24+
- uses: actions/checkout@v6.0.2
2925
- name: Set Node.js 20.x
30-
uses: actions/setup-node@v4.4.0
26+
uses: actions/setup-node@v6.1.0
3127
with:
3228
node-version: 20
3329
cache: npm
34-
3530
- name: Install dependencies
3631
run: npm ci
37-
3832
- name: Rebuild the dist/ directory
3933
run: npm run prepare
40-
4134
- name: Compare the expected and actual dist/ directories
4235
run: |
4336
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
@@ -46,9 +39,8 @@ jobs:
4639
exit 1
4740
fi
4841
id: diff
49-
5042
# If index.js was different than expected, upload the expected version as an artifact
51-
- uses: actions/upload-artifact@v4
43+
- uses: actions/upload-artifact@v6.0.0
5244
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
5345
with:
5446
name: dist

.github/workflows/codeql-analysis.yml

Lines changed: 29 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,17 @@
1010
# supported CodeQL languages.
1111
#
1212
name: "CodeQL"
13-
1413
on:
1514
merge_group:
1615
branches:
1716
- v2
1817
push:
19-
branches: [ main ]
18+
branches: [main]
2019
pull_request:
2120
# The branches below must be a subset of the branches above
22-
branches: [ main ]
21+
branches: [main]
2322
schedule:
2423
- cron: '24 5 * * 6'
25-
2624
jobs:
2725
analyze:
2826
name: Analyze
@@ -31,45 +29,37 @@ jobs:
3129
actions: read
3230
contents: read
3331
security-events: write
34-
3532
strategy:
3633
fail-fast: false
3734
matrix:
38-
language: [ 'javascript' ]
35+
language: ['javascript']
3936
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
4037
# Learn more about CodeQL language support at https://git.io/codeql-language-support
41-
4238
steps:
43-
- name: Checkout repository
44-
uses: actions/checkout@v4
45-
46-
# Initializes the CodeQL tools for scanning.
47-
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v3
49-
with:
50-
languages: ${{ matrix.language }}
51-
config-file: ./.github/codeql/codeql-config.yml
52-
# If you wish to specify custom queries, you can do so here or in a config file.
53-
# By default, queries listed here will override any specified in a config file.
54-
# Prefix the list here with "+" to use these queries and those in the config file.
55-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
56-
57-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
58-
# If this step fails, then you should remove it and run the build manually (see below)
59-
- name: Autobuild
60-
uses: github/codeql-action/autobuild@v3
61-
62-
# ℹ️ Command-line programs to run using the OS shell.
63-
# 📚 https://git.io/JvXDl
64-
65-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
66-
# and modify them (or add more) to build your code if your project
67-
# uses a compiled language
68-
69-
#- run: |
70-
# make bootstrap
71-
# make release
72-
73-
- name: Perform CodeQL Analysis
74-
uses: github/codeql-action/analyze@v3
39+
- name: Checkout repository
40+
uses: actions/checkout@v6.0.2
41+
# Initializes the CodeQL tools for scanning.
42+
- name: Initialize CodeQL
43+
uses: github/codeql-action/init@v4.31.10
44+
with:
45+
languages: ${{ matrix.language }}
46+
config-file: ./.github/codeql/codeql-config.yml
47+
# If you wish to specify custom queries, you can do so here or in a config file.
48+
# By default, queries listed here will override any specified in a config file.
49+
# Prefix the list here with "+" to use these queries and those in the config file.
50+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
51+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
52+
# If this step fails, then you should remove it and run the build manually (see below)
53+
- name: Autobuild
54+
uses: github/codeql-action/autobuild@v4.31.10
55+
#- run: |
56+
# make bootstrap
57+
# make release
58+
- name: Perform CodeQL Analysis
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 https://git.io/JvXDl
7561

62+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63+
# and modify them (or add more) to build your code if your project
64+
# uses a compiled language
65+
uses: github/codeql-action/analyze@v4.31.10

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
name: Release Drafter
2-
32
on:
43
workflow_dispatch:
54
push:
65
# branches to consider in the event; optional, defaults to all
76
branches:
87
- v2
9-
108
jobs:
119
update_release_draft:
1210
runs-on: ubuntu-24.04
1311
steps:
14-
- uses: release-drafter/release-drafter@v6
12+
- uses: release-drafter/release-drafter@v6.1.0
1513
with:
1614
config-name: release-drafter.yaml
1715
publish: startsWith(github.ref, "refs/tags")

.github/workflows/test.yaml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,36 @@
11
---
22
name: Test
3-
43
on:
54
merge_group:
65
branches:
76
- v2
87
workflow_dispatch:
98
pull_request:
10-
119
jobs:
1210
# unit tests
1311
units:
1412
name: Test Javascript
1513
runs-on: ubuntu-latest
1614
steps:
17-
- uses: actions/checkout@v4
18-
19-
- name: Set Node.js 20.x
20-
uses: actions/setup-node@v4.4.0
21-
with:
22-
node-version: 20
23-
cache: npm
24-
25-
- name: Install Dependencies
26-
run: npm ci
27-
28-
- name: Run Lint Test
29-
run: npm run lint
30-
31-
- name: Run tests
32-
run: npm test
33-
15+
- uses: actions/checkout@v6.0.2
16+
- name: Set Node.js 20.x
17+
uses: actions/setup-node@v6.1.0
18+
with:
19+
node-version: 20
20+
cache: npm
21+
- name: Install Dependencies
22+
run: npm ci
23+
- name: Run Lint Test
24+
run: npm run lint
25+
- name: Run tests
26+
run: npm test
3427
e2e:
3528
name: Test Updatecli Github Action
3629
runs-on: ubuntu-latest
3730
steps:
3831
- name: Git Checkout
39-
uses: actions/checkout@v4
40-
32+
uses: actions/checkout@v6.0.2
4133
- name: Install Updatecli
4234
uses: ./
43-
4435
- name: Test local action without install-only
4536
run: updatecli diff --config testdata/updatecli.d/test.yaml

0 commit comments

Comments
 (0)