Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #141 from JackalLabs/marston/lint-go-version
Browse files Browse the repository at this point in the history
update go versiom in actions & lint
  • Loading branch information
TheMarstonConnell authored Apr 15, 2024
2 parents 45096fc + a1a54b9 commit 2c28e56
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v5
with:
go-version: 1.19 # The Go version to download (if necessary) and use.
go-version: 1.22 # The Go version to download (if necessary) and use.
- name: Build CLI
run: go install ./...
2 changes: 1 addition & 1 deletion .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v5
with:
go-version: 1.19 # The Go version to download (if necessary) and use.
go-version: 1.22 # The Go version to download (if necessary) and use.
- name: Get Coverage
run: |
go test ./... -cover -coverprofile coverage.out
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.22
- uses: actions/[email protected]
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v5
with:
go-version: 1.18.1 # The Go version to download (if necessary) and use.
go-version: 1.22 # The Go version to download (if necessary) and use.
- name: Build CLI
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v5
with:
go-version: 1.18.1 # The Go version to download (if necessary) and use.
go-version: 1.22 # The Go version to download (if necessary) and use.
- name: Build CLI
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v5
with:
go-version: 1.19 # The Go version to download (if necessary) and use.
go-version: 1.22 # The Go version to download (if necessary) and use.
- name: Test
shell: bash
run: go test ./...
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ benchmark:
###############################################################################

format-tools:
go install mvdan.cc/gofumpt@v0.3.1
go install mvdan.cc/gofumpt@v0.6.0
gofumpt -l -w .

lint: format-tools
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/JackalLabs/jackal-provider

go 1.21.0

toolchain go1.22.0
go 1.22.0

require (
github.com/JackalLabs/blanket v0.0.0
Expand Down

0 comments on commit 2c28e56

Please sign in to comment.