mirror of https://github.com/pressly/goose.git
chore: rename to main branch
parent
dc90c17981
commit
09bd1db8c6
|
@ -3,7 +3,7 @@ name: Goose CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -45,13 +45,13 @@ jobs:
|
||||||
go build ./...
|
go build ./...
|
||||||
make test-packages
|
make test-packages
|
||||||
- name: Install GoReleaser
|
- 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
|
uses: goreleaser/goreleaser-action@v6
|
||||||
with:
|
with:
|
||||||
install-only: true
|
install-only: true
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: "~> v2"
|
version: "~> v2"
|
||||||
- name: Gorelease dry-run
|
- 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: |
|
run: |
|
||||||
goreleaser release --skip=publish --snapshot --fail-fast --clean
|
goreleaser release --skip=publish --snapshot --fail-fast --clean
|
||||||
|
|
|
@ -3,7 +3,7 @@ name: Goose integration tests
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|
|
@ -3,7 +3,6 @@ name: golangci
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue