diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index eb54088..b1fe3f6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,10 +18,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Lint - run: | - go get golang.org/x/lint/golint - golint ./... + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: latest - name: Build run: go build -v . @@ -38,4 +38,4 @@ jobs: KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }} run: | ./ko login ghcr.io --username $GITHUB_REPOSITORY_OWNER --password ${{ secrets.GITHUB_TOKEN }} - ./ko publish -B . \ No newline at end of file + ./ko publish -B .