mirror of
https://github.com/abice/go-enum.git
synced 2026-10-28 16:46:59 +08:00
fix: build issue (#291)
This commit is contained in:
1 parent
27c4a19469
commit
fbcdc032d5
3 files changed
+9
-10
No files matched your search
@@ -13,15 +13,14 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go:
|
||||
- '1.22'
|
||||
- '1.23'
|
||||
- '1.24'
|
||||
- "1.24"
|
||||
- "1.25"
|
||||
name: run tests with go version ${{ matrix.go }}
|
||||
steps:
|
||||
- name: install go
|
||||
uses: actions/setup-go@v5
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: '${{ matrix.go }}'
|
||||
go-version: "${{ matrix.go }}"
|
||||
check-latest: true
|
||||
|
||||
- name: checkout code
|
||||
@@ -33,7 +32,7 @@ jobs:
|
||||
- name: Test
|
||||
run: |
|
||||
make cover
|
||||
|
||||
|
||||
- name: Send coverage
|
||||
uses: shogo82148/actions-goveralls@v1
|
||||
with:
|
||||
@@ -49,7 +48,7 @@ jobs:
|
||||
|
||||
- name: Assert no changes
|
||||
run: make assert-no-changes
|
||||
|
||||
|
||||
# notifies that all test jobs are finished.
|
||||
finish:
|
||||
needs: build
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ">=1.23.2"
|
||||
- name: Ensure Go
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ">=1.23.2"
|
||||
- name: Ensure Go
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: check
|
||||
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user