Skip to content

Commit

Permalink
Merge pull request #37 from spinkube/chore/update-golangci-lint
Browse files Browse the repository at this point in the history
update golangci-lint
  • Loading branch information
phyrog authored Mar 11, 2024
2 parents 39f419c + 7f13e5c commit 2aff2ad
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ name: CI
on:
workflow_call:
push:
branches:
- 'main'
pull_request:

# Declare default permissions as read only.
permissions: read-all
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# Optional: Allow write access to checks to allow the action to annotate code in the PR.
checks: write

jobs:
unit_tests:
Expand All @@ -30,4 +38,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
with:
version: v1.55.2
version: v1.56.2
skip-cache: true

0 comments on commit 2aff2ad

Please sign in to comment.