diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d115f76e..257c801b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,16 +18,16 @@ jobs: with: fetch-depth: 0 - - name: golangci-lint - uses: reviewdog/action-golangci-lint@v2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-go@v3 with: cache: false go-version-file: 'go.mod' + - name: golangci-lint + uses: reviewdog/action-golangci-lint@v2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Test and build image run: | make test docker-build diff --git a/Dockerfile b/Dockerfile index eed96d4e..42ea0285 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.18 as builder +FROM golang:1.19 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/go.mod b/go.mod index 9c612e2a..b2eee985 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/evryfs/github-actions-runner-operator -go 1.18 +go 1.19 require ( github.com/go-logr/logr v1.2.3