Skip to content

Commit

Permalink
chore(build): Bump all github actions to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Apr 25, 2024
1 parent dad7664 commit 17dadc7
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/close_threads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "actions/stale@v5",
"uses": "actions/stale@v9",
"with": {
"stale-issue-label": "unconfirmed",
"ignore-updates": true,
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@
"steps": [
{
"name": "Checkout repository",
"uses": "actions/checkout@v3"
"uses": "actions/checkout@v4"
},
{
"name": "Initialize CodeQL",
"uses": "github/codeql-action/init@v2",
"uses": "github/codeql-action/init@v3",
"with": {
"languages": "${{ matrix.language }}"
}
},
{
"name": "Autobuild",
"uses": "github/codeql-action/autobuild@v2"
"uses": "github/codeql-action/autobuild@v3"
},
{
"name": "Perform CodeQL Analysis",
"uses": "github/codeql-action/analyze@v2"
"uses": "github/codeql-action/analyze@v3"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/loc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "actions/checkout@v3"
"uses": "actions/checkout@v4"
},
{
"name": "Count Lines of Code (tokei)",
"uses": "hypfer/tokei-action@master"
},
{
"name": "Upload tokei output as a build artifact",
"uses": "actions/upload-artifact@v3",
"uses": "actions/upload-artifact@v4",
"with": {
"name": "loc.txt",
"path": "loc.txt"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/lock_threads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"permissions": {
"issues": "write",
"pull-requests": "write"
"pull-requests": "write",
"discussions": "write"
},
"concurrency": {
"group": "lock"
Expand All @@ -20,7 +21,7 @@
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "dessant/lock-threads@v3",
"uses": "dessant/lock-threads@v5",
"with": {
"log-output": true
}
Expand All @@ -31,7 +32,7 @@
"runs-on": "ubuntu-latest",
"steps": [
{
"uses": "dessant/lock-threads@v3",
"uses": "dessant/lock-threads@v5",
"with": {
"include-any-issue-labels" : "invalid",
"process-only": "issues",
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/manual_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
'runs-on': 'ubuntu-latest',
'steps':
[
{ 'uses': 'actions/checkout@v3' },
{ 'uses': 'actions/checkout@v4' },
{
'name': 'Use Node.js 18.x',
'uses': 'actions/setup-node@v3',
'with': { 'node-version': '18.x' },
'name': 'Use Node.js 20.x',
'uses': 'actions/setup-node@v4',
'with': { 'node-version': '20.x' },
},
{ 'name': 'Install', 'run': 'npm ci' },
{
Expand All @@ -40,7 +40,7 @@

{
'name': 'Upload armv7 build',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo-armv7',
Expand All @@ -49,7 +49,7 @@
},
{
'name': 'Upload armv7 lowmem build',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo-armv7-lowmem',
Expand All @@ -58,7 +58,7 @@
},
{
'name': 'Upload aarch64 build',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo-aarch64',
Expand All @@ -72,7 +72,7 @@
},
{
'name': 'Upload armv7 upx build',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo-armv7.upx',
Expand All @@ -81,7 +81,7 @@
},
{
'name': 'Upload armv7 lowmem upx build',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo-armv7-lowmem.upx',
Expand All @@ -90,7 +90,7 @@
},
{
'name': 'Upload aarch64 upx build',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo-aarch64.upx',
Expand All @@ -104,7 +104,7 @@
},
{
'name': 'Upload manifest',
'uses': 'actions/upload-artifact@v3',
'uses': 'actions/upload-artifact@v4',
'with':
{
'name': 'valetudo_release_manifest.json',
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
'steps':
[
{
'uses': 'actions/checkout@v3',
'uses': 'actions/checkout@v4',
'with': {
'fetch-depth': 0
}
},
{
'name': 'Use Node.js 18.x',
'uses': 'actions/setup-node@v3',
'with': { 'node-version': '18.x' },
'name': 'Use Node.js 20.x',
'uses': 'actions/setup-node@v4',
'with': { 'node-version': '20.x' },
},
{ 'name': 'Install', 'run': 'npm ci' },
{
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
'build':
{
'runs-on': 'ubuntu-latest',
'strategy': { 'matrix': { 'node-version': ['18.x'] } },
'strategy': { 'matrix': { 'node-version': ['20.x'] } },
'steps':
[
{ 'uses': 'actions/checkout@v3' },
{ 'uses': 'actions/checkout@v4' },
{
'name': 'Use Node.js ${{ matrix.node-version }}',
'uses': 'actions/setup-node@v3',
'uses': 'actions/setup-node@v4',
'with': { 'node-version': '${{ matrix.node-version }}' },
},
{ 'run': 'npm ci' },
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
'publish-release':
{
'runs-on': 'ubuntu-latest',
'strategy': { 'matrix': { 'node-version': ['18.x'] } },
'strategy': { 'matrix': { 'node-version': ['20.x'] } },
'steps':
[
{ 'uses': 'actions/checkout@v3' },
{ 'uses': 'actions/checkout@v4' },
{
'name': 'Use Node.js ${{ matrix.node-version }}',
'uses': 'actions/setup-node@v3',
'uses': 'actions/setup-node@v4',
'with': { 'node-version': '${{ matrix.node-version }}' },
},
{ 'name': 'Install', 'run': 'npm ci' },
Expand All @@ -39,7 +39,7 @@

{
'name': 'Upload Valetudo armv7',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -51,7 +51,7 @@
},
{
'name': 'Upload Valetudo armv7 lowmem',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -63,7 +63,7 @@
},
{
'name': 'Upload Valetudo aarch64',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -80,7 +80,7 @@
},
{
'name': 'Upload Valetudo armv7.upx',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -92,7 +92,7 @@
},
{
'name': 'Upload Valetudo armv7 lowmem.upx',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -104,7 +104,7 @@
},
{
'name': 'Upload Valetudo aarch64.upx',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -121,7 +121,7 @@
},
{
'name': 'Upload manifest',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand All @@ -134,7 +134,7 @@

{
'name': 'Upload OpenAPI spec',
'uses': 'hypfer/upload-release-asset@v1.1.0',
'uses': 'hypfer/upload-release-asset@v1.2.0',
'env': { 'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}' },
'with':
{
Expand Down

0 comments on commit 17dadc7

Please sign in to comment.