diff options
Diffstat (limited to '')
| -rw-r--r-- | .github/dependabot.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/go.yml | 26 |
2 files changed, 24 insertions, 7 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a0787cc..eccc28d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,11 +5,6 @@ updates: schedule: interval: "daily" - - package-ecosystem: "gomod" - directory: "/tools" - schedule: - interval: "daily" - - package-ecosystem: "github-actions" directory: "/" schedule: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9c644e1..9c46b19 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,8 +23,8 @@ jobs: go-version: 1.21.x cache: true - - name: Lint - run: make lint + - name: Build + run: make build - name: Test run: make cover @@ -32,6 +32,28 @@ jobs: - name: Upload coverage to codecov.io uses: codecov/codecov-action@v3 + lint: + name: Lint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + name: Check out repository + - uses: actions/setup-go@v4 + name: Set up Go + with: + go-version: 1.21.x + cache: false # managed by golangci-lint + + - uses: golangci/golangci-lint-action@v3 + name: Install golangci-lint + with: + version: latest + args: --version # make lint will run the linter + + - run: make lint + name: Lint + docker: runs-on: ubuntu-latest steps: |