diff --git a/.gitea/workflows/golangci-lint.yaml b/.gitea/workflows/golangci-lint.yaml new file mode 100644 index 0000000..9ec29e4 --- /dev/null +++ b/.gitea/workflows/golangci-lint.yaml @@ -0,0 +1,24 @@ +name: Golang CI lint + +on: + pull_request: + types: [ "opened", "reopened", "synchronize" ] + push: + branches: [ '**' ] + tags-ignore: [ '**' ] + +permissions: + contents: read + +jobs: + golangci: + runs-on: + - ubuntu-latest + steps: + - uses: actions/checkout@v4.2.2 + - uses: actions/setup-go@v5.5.0 + with: + go-version: stable + - uses: golangci/golangci-lint-action@v8 + with: + version: v2.1 \ No newline at end of file