Skip to content

Commit

Permalink
fix(ci): fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Morelly committed Sep 26, 2023
1 parent f8193cf commit 906bd3e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: '1.17'
go-version: '1.19'
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.0
version: v1.54.2
args: -c .golang-ci.yml -v --timeout=5m
env:
GO111MODULES: off
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
vault-version: [1.11-ent, 1.12-ent, latest]
vault-version: [1.13-ent, 1.14-ent, latest]
# max-parallel: 1

runs-on: ${{ matrix.os }}
Expand All @@ -23,14 +23,11 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19

- name: go get
run: go get ./...

- name: go mod tidy
run: go mod tidy

- name: Run coverage
run: go test -v -race -coverprofile="coverage.out" -covermode=atomic ./...
env:
Expand Down
5 changes: 4 additions & 1 deletion .golang-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ linters:
- goimports
- gci
- gofmt
- gofumpt
- gofumpt
- revive
- depguard
- tagalign
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ repos:
rev: v1.0.0-rc.1
hooks:
- id: go-build-mod
- id: go-mod-tidy
- id: go-test-mod
- id: go-vet-mod
- id: go-staticcheck-mod
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/FalcoSuessgott/vkv

go 1.17
go 1.19

require (
github.com/disiqueira/gotree/v3 v3.0.2
Expand Down

0 comments on commit 906bd3e

Please sign in to comment.