mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
chore(deps): update go version to 1.18 (#1363)
Co-authored-by: nils måsén <nils@piksel.se>
This commit is contained in:
parent
964879d228
commit
e04a107694
10 changed files with 60 additions and 334 deletions
17
.github/workflows/pull-request.yml
vendored
17
.github/workflows/pull-request.yml
vendored
|
|
@ -18,20 +18,17 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
- name: Install linter
|
||||
run: |
|
||||
go get -u golang.org/x/lint/golint
|
||||
- name: Lint files
|
||||
run: |
|
||||
golint -set_exit_status ./...
|
||||
go-version: 1.18.x
|
||||
- uses: dominikh/staticcheck-action@v1.2.0
|
||||
with:
|
||||
version: "2022.1.1"
|
||||
test:
|
||||
name: Test
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version:
|
||||
- 1.15.x
|
||||
- 1.18.x
|
||||
platform:
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
|
|
@ -45,7 +42,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.18.x
|
||||
- name: Run tests
|
||||
run: |
|
||||
go test -v -coverprofile coverage.out -covermode atomic ./...
|
||||
|
|
@ -64,7 +61,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.18.x
|
||||
- name: Build
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue