diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8336241..8304aef 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,10 +4,12 @@ on: branches: - main - next + - v0.10.x push: branches: - main - next + - v0.10.x jobs: golangci: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2f5bec3..62ebe31 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,12 +1,19 @@ name: go test on: pull_request: + paths: + - "**.go" + branches: + - main + - next + - v0.10.x push: paths: - "**.go" branches: - main - next + - v0.10.x jobs: tests: @@ -17,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6 with: