2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 05:31:44 +08:00

ci: 固定 Go 1.22 版本

This commit is contained in:
耗子
2024-03-24 16:28:09 +08:00
parent 868ee73d51
commit a295eb9a65
6 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: true
go-version: 'stable'
go-version: '1.22'
- name: Install dependencies
run: go mod tidy
- name: Build ${{ matrix.goarch }}

View File

@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
go-version: '1.22'
- name: Install dependencies
run: go mod tidy
- name: Run tests with coverage

View File

@@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
go-version: '1.22'
- name: Fetch Frontend
run: |
sudo apt-get install -y curl jq unzip zip

View File

@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
go-version: '1.22'
cache: false
- name: Lint
uses: golangci/golangci-lint-action@v4

View File

@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
go-version: '1.22'
- name: Install dependencies
run: sudo apt-get install -y curl jq
- name: Set up environment

View File

@@ -1,4 +1,4 @@
image: golang:bookworm
image: golang:1.22-bookworm
# 在每个任务执行前运行
before_script: