ci(linters): update Go and Node versions (#1700)

This commit is contained in:
ze0s 2024-09-02 15:59:33 +02:00 committed by GitHub
parent d380c0b178
commit c3530ac8af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 4 deletions

View file

@ -20,6 +20,10 @@ on:
schedule:
- cron: '20 13 * * 6'
env:
GO_VERSION: '1.23.0'
NODE_VERSION: '20.17.0'
jobs:
analyze:
name: Analyze
@ -51,7 +55,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18.17.0'
node-version: ${{ env.NODE_VERSION }}
- name: Set up corepack
run: corepack enable
@ -70,7 +74,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
go-version: ${{ env.GO_VERSION }}
cache: true
# Initializes the CodeQL tools for scanning.

View file

@ -9,6 +9,9 @@ on:
schedule:
- cron: '20 13 * * 6'
env:
NODE_VERSION: '20.17.0'
jobs:
codeql:
runs-on: ubuntu-latest
@ -27,7 +30,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18.17.0'
node-version: ${{ env.NODE_VERSION }}
- name: Set up corepack
run: corepack enable

View file

@ -8,6 +8,10 @@ on:
- 'v*'
pull_request:
env:
GO_VERSION: '1.23.0'
NODE_VERSION: '20.17.0'
jobs:
nilaway:
name: Nilaway Linter
@ -21,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Install Nilaway