diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 80c8b49..458cf40 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: Goose CI on: push: branches: - - master + - main pull_request: concurrency: @@ -45,13 +45,13 @@ jobs: go build ./... make test-packages - name: Install GoReleaser - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == 'stable' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.go-version == 'stable' uses: goreleaser/goreleaser-action@v6 with: install-only: true distribution: goreleaser version: "~> v2" - name: Gorelease dry-run - if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == 'stable' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.go-version == 'stable' run: | goreleaser release --skip=publish --snapshot --fail-fast --clean diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 631fde5..f54dfb9 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -3,7 +3,7 @@ name: Goose integration tests on: push: branches: - - master + - main pull_request: concurrency: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 9a7221b..e5812a8 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -3,7 +3,6 @@ name: golangci on: push: branches: - - master - main pull_request: