2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

feat: 暂时固定 Go 1.21

This commit is contained in:
耗子
2024-02-17 15:53:04 +08:00
parent 2732a476fd
commit 53e13d1257
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.21'
- 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.21'
- 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.21'
- 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.21'
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.21'
- 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.21-bookworm
# 在每个任务执行前运行
before_script: