mirror of
https://github.com/neilotoole/sq.git
synced 2025-01-03 05:55:48 +03:00
refactor GH workflow for more parallelism
This commit is contained in:
parent
56846b40c4
commit
51bc3ef677
15
.github/workflows/go.yml
vendored
15
.github/workflows/go.yml
vendored
@ -58,7 +58,6 @@ jobs:
|
||||
|
||||
|
||||
build-binaries-darwin:
|
||||
needs: go-test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: macos-12
|
||||
|
||||
@ -90,7 +89,6 @@ jobs:
|
||||
path: dist-darwin
|
||||
|
||||
build-binaries-linux-amd64:
|
||||
needs: go-test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
@ -122,7 +120,6 @@ jobs:
|
||||
path: dist-linux
|
||||
|
||||
build-binaries-linux-arm64:
|
||||
needs: go-test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
@ -160,7 +157,6 @@ jobs:
|
||||
|
||||
|
||||
build-binaries-windows:
|
||||
needs: go-test
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: windows-2022
|
||||
|
||||
@ -193,10 +189,15 @@ jobs:
|
||||
path: dist-windows
|
||||
|
||||
publish:
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
needs: [ go-lint, build-binaries-darwin, build-binaries-linux-amd64, build-binaries-linux-arm64, build-binaries-windows ]
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
needs:
|
||||
- go-lint
|
||||
- go-test
|
||||
- build-binaries-darwin
|
||||
- build-binaries-linux-amd64
|
||||
- build-binaries-linux-arm64
|
||||
- build-binaries-windows
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
Loading…
Reference in New Issue
Block a user