Skip to content

Commit

Permalink
bump go version, golangci-lint version and remove circleci config (#130)
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis authored Apr 14, 2023
1 parent c0ce783 commit 1c49f39
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 33 deletions.
29 changes: 0 additions & 29 deletions .circleci/config.yml

This file was deleted.

28 changes: 25 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: golangci-lint
on:
push:
branches:
- master
- main
pull_request:
jobs:
golangci:
Expand All @@ -13,9 +13,31 @@ jobs:
- name: install golang
uses: actions/setup-go@v4
with:
go-version: 1.19.x
go-version: 1.20.x
- name: golangci-lint
uses: golangci/[email protected]
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.49.0
version: v1.52.2
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install golang
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: test
run: "make test"
checkformat:
name: checkformat
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install golang
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: checkformat
run: "make checkformat"
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/perses/common

go 1.18
go 1.19

require (
github.com/fsnotify/fsnotify v1.6.0
Expand Down

0 comments on commit 1c49f39

Please sign in to comment.