Skip to content

Commit 03cf51f

Browse files
authored
.github/workflows: move golangci-lint job back into main CI workflow (but still as separate job) (#31)
1 parent 47899d2 commit 03cf51f

File tree

2 files changed

+13
-50
lines changed

2 files changed

+13
-50
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,16 @@ jobs:
4444
with:
4545
path-to-profile: cover.out
4646

47-
# deploy:
48-
# name: Deploy
49-
# needs: test
50-
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
51-
# runs-on: ubuntu-latest
52-
# steps:
53-
#
54-
# - name: Check out code into the Go module directory
55-
# uses: actions/checkout@v2
56-
#
57-
# - name: Push helm-operator image to Quay
58-
# uses: docker/build-push-action@v1
59-
# with:
60-
# username: ${{ secrets.QUAY_USERNAME }}
61-
# password: ${{ secrets.QUAY_PASSWORD }}
62-
# registry: quay.io
63-
# repository: joelanford/helm-operator
64-
# tags: main
65-
#
66-
# - name: Push example nginx-operator image to Quay
67-
# uses: docker/build-push-action@v1
68-
# with:
69-
# path: example/
70-
# username: ${{ secrets.QUAY_USERNAME }}
71-
# password: ${{ secrets.QUAY_PASSWORD }}
72-
# registry: quay.io
73-
# repository: joelanford/nginx-operator
74-
# tags: latest
47+
lint:
48+
name: Lint
49+
runs-on: ubuntu-latest
50+
steps:
51+
52+
- name: Check out code into the Go module directory
53+
uses: actions/checkout@v2
54+
55+
- name: Run golangci-lint
56+
uses: golangci/golangci-lint-action@v1
57+
with:
58+
version: v1.29
59+
args: --timeout 5m

.github/workflows/golangci-lint.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)