mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
ci: update GitHub Actions workflows to use Go 1.24
This commit is contained in:
parent
033806df4b
commit
502db64b28
4 changed files with 6 additions and 9 deletions
2
.github/workflows/build_binaries.yml
vendored
2
.github/workflows/build_binaries.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
- name: Set up Golang
|
- name: Set up Golang
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.23.x"
|
go-version: "1.24.x"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Compile binaries
|
- name: Compile binaries
|
||||||
env:
|
env:
|
||||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.23.x"
|
go-version: "1.24.x"
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v3
|
||||||
|
|
7
.github/workflows/linters.yml
vendored
7
.github/workflows/linters.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.23.x"
|
go-version: "1.24.x"
|
||||||
- uses: golangci/golangci-lint-action@v6
|
- uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
--enable sqlclosecheck,misspell,gofmt,goimports,whitespace,gocritic
|
--enable sqlclosecheck,misspell,gofmt,goimports,whitespace,gocritic
|
||||||
- uses: dominikh/staticcheck-action@v1.3.1
|
- uses: dominikh/staticcheck-action@v1.3.1
|
||||||
with:
|
with:
|
||||||
version: "2024.1.1"
|
version: "latest"
|
||||||
install-go: false
|
install-go: false
|
||||||
|
|
||||||
commitlint:
|
commitlint:
|
||||||
|
@ -48,16 +48,13 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: "lts/*"
|
||||||
|
|
||||||
- name: Install commitlint
|
- name: Install commitlint
|
||||||
run: |
|
run: |
|
||||||
npm install --save-dev @commitlint/config-conventional @commitlint/cli
|
npm install --save-dev @commitlint/config-conventional @commitlint/cli
|
||||||
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
|
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
|
||||||
|
|
||||||
- name: Validate PR commits
|
- name: Validate PR commits
|
||||||
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
|
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
|
||||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
go-version: ["1.23.x"]
|
go-version: ["1.24.x"]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -49,7 +49,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.23.x"
|
go-version: "1.24.x"
|
||||||
- name: Install Postgres client
|
- name: Install Postgres client
|
||||||
run: sudo apt update && sudo apt install -y postgresql-client
|
run: sudo apt update && sudo apt install -y postgresql-client
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue