Skip to content

Commit

Permalink
fix: go 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed May 24, 2023
1 parent 1fd8f1a commit abad729
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version-file: "go.mod"
- uses: dominikh/staticcheck-action@v1
with:
version: "2023.1"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version-file: "go.mod"
- run: go build -o macadmin
- run: go test -race -covermode=atomic -shuffle=on -coverprofile=coverage.out

Expand All @@ -25,6 +25,5 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TOKEN }}
with:
coverageCommand: ''
prefix: 'github.com/brokeyourbike/macadmin'
coverageLocations: ./coverage.out:gocov
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@

# Dependency directories (remove the comment below to include it)
# vendor/

.DS_Store
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/brokeyourbike/macadmin

go 1.17
go 1.19

require (
github.com/groob/plist v0.0.0-20220217120414-63fa881b19a5
Expand Down

0 comments on commit abad729

Please sign in to comment.