diff --git a/.github/workflows/golang-ci.yaml b/.github/workflows/golang-ci.yaml new file mode 100644 index 0000000..ef8c6db --- /dev/null +++ b/.github/workflows/golang-ci.yaml @@ -0,0 +1,24 @@ +name: Run golangci-lint +on: + push: + branches: + - main + - master + pull_request: + +permissions: + contents: read + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 + with: + go-version: stable + - name: golangci-lint + uses: golangci/golangci-lint-action@v9 + with: + version: v2.13