diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index e7fd545f..898bb710 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -4,7 +4,6 @@ on: branches: - master - main - - fresh pull_request: permissions: @@ -20,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.23' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -48,7 +47,7 @@ jobs: # skip-cache: true # Optional: if set to true, then the action won't cache or restore ~/go/pkg. - # skip-pkg-cache: true + skip-pkg-cache: true # Optional: if set to true, then the action won't cache or restore ~/.cache/go-build. # skip-build-cache: true diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..ec7a29ec --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module cluster-inventory + +go 1.21.0