Skip to content

Commit

Permalink
various versioning updates (#122)
Browse files Browse the repository at this point in the history
* update go mod to 1.16

* install go 1.16 for unit test github action

* update pre-commit action

* change pre-commit config from `git:` to `https:`
  • Loading branch information
maskarb authored Jan 12, 2022
1 parent fdf4288 commit 40f3d36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
- uses: pre-commit/action@v2.0.3
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/setup-go@v2
with:
stable: 'true'
go-version: '1.15' # The Go version to download (if necessary) and use.
go-version: '1.16' # The Go version to download (if necessary) and use.

- name: Cache Go modules
uses: actions/cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: git://github.com/dnephin/pre-commit-golang
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.4.0
hooks:
- id: go-fmt
- id: go-vet
- id: go-imports
- id: go-mod-tidy
- repo: git://github.com/golangci/golangci-lint
- repo: https://github.com/golangci/golangci-lint
rev: v1.40.1
hooks:
- id: golangci-lint
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/project-koku/koku-metrics-operator

go 1.15
go 1.16

require (
github.com/go-logr/logr v0.3.0
Expand Down

0 comments on commit 40f3d36

Please sign in to comment.