diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..da9a6015 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,20 @@ +name: Go Lint + +on: + push: + branches: + - 1.x + - 2.x + pull_request: + branches: + - 1.x + - 2.x + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 \ No newline at end of file diff --git a/.github/workflows/go.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/go.yml rename to .github/workflows/test.yml