diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8b3882a..1ec7ea2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 954c557..ffd0319 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -25,6 +25,5 @@ jobs: env: CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TOKEN }} with: - coverageCommand: '' prefix: 'github.com/brokeyourbike/macadmin' coverageLocations: ./coverage.out:gocov diff --git a/.gitignore b/.gitignore index 66fd13c..25eef8e 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ # Dependency directories (remove the comment below to include it) # vendor/ + +.DS_Store \ No newline at end of file diff --git a/go.mod b/go.mod index 59571be..d91d8ce 100644 --- a/go.mod +++ b/go.mod @@ -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