2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00

feat: 更新 Go 1.22

This commit is contained in:
耗子
2024-02-19 23:20:43 +08:00
parent 165424b4b2
commit 89bd5d4b36
10 changed files with 59 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-go@v5
with:
cache: true
go-version: '1.21'
go-version: 'stable'
- 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: '1.21'
go-version: 'stable'
- 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: '1.21'
go-version: 'stable'
- 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: '1.21'
go-version: 'stable'
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: '1.21'
go-version: 'stable'
- name: Install dependencies
run: sudo apt-get install -y curl jq
- name: Set up environment