mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
ci(linters): update Go and Node versions (#1700)
This commit is contained in:
parent
d380c0b178
commit
c3530ac8af
3 changed files with 15 additions and 4 deletions
8
.github/workflows/codeql.yml
vendored
8
.github/workflows/codeql.yml
vendored
|
@ -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.
|
||||
|
|
5
.github/workflows/eslint.yml
vendored
5
.github/workflows/eslint.yml
vendored
|
@ -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
|
||||
|
|
6
.github/workflows/golang-linter.yml
vendored
6
.github/workflows/golang-linter.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue