diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml new file mode 100644 index 0000000..dc28aba --- /dev/null +++ b/.github/workflows/branch.yml @@ -0,0 +1,22 @@ +name: Branch CI + +on: + pull_request: + branches: [main] + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - uses: golangci/golangci-lint-action@v6 + with: + version: latest + + - name: Test + run: make test