Skip to content

Commit

Permalink
chore: Bump go to 1.18 (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
Callisto13 authored Jun 8, 2022
1 parent 2f5943d commit 343305f
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 263 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: '14.x'
- uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: '1.18'
- name: Build docs
run: make docs-build
release:
Expand All @@ -30,7 +30,7 @@ jobs:
node-version: '14.x'
- uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: '1.18'
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.FLINTLOCK_DOCS_WEAVEWORKS_DOCS_BOT_DEPLOY_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: '1.18'
- name: Lint
run: make lint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Build binaries
run: make build-release
- name: Store flintlock binaries
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
go-version: '1.18'
- name: Build
run: make build
- name: Build e2e
Expand Down
9 changes: 7 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
run:
go: "1.18"
timeout: 10m
tests: false
allow-parallel-runners: true
Expand All @@ -10,9 +11,9 @@ linters-settings:
lines: 110
statements: 60
staticcheck:
go: "1.17"
go: "1.18"
stylecheck:
go: "1.17"
go: "1.18"
cyclop:
max-complexity: 15
skip-tests: true
Expand Down Expand Up @@ -85,6 +86,10 @@ issues:
linters:
- goerr113
- gomnd
# remove this once https://github.com/golangci/golangci-lint/issues/2649 is closed
- path: /
linters:
- typecheck

linters:
enable-all: true
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ highlights some tools you can use to interact with the service.

This project is written in Go. To be able to contribute you will need:

1. A working Go installation of go 1.17. You can check the
1. A working Go installation of go 1.18. You can check the
[official installation guide](https://golang.org/doc/install).

2. Make sure that `$(go env GOPATH)/bin` is in your shell's `PATH`. You can do so by
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/weaveworks-liquidmetal/flintlock

go 1.17
go 1.18

replace (
github.com/weaveworks-liquidmetal/flintlock/api => ./api
Expand Down
254 changes: 0 additions & 254 deletions go.sum

Large diffs are not rendered by default.

0 comments on commit 343305f

Please sign in to comment.