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

View file

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

View file

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