diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..c36f8d0 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - main + pull_request: +name: Test +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: 1.22.x + - name: golangci-lint + uses: golangci/golangci-lint-action@v4 + with: + version: latest