mirror of
https://github.com/neilotoole/sq.git
synced 2025-01-07 00:43:33 +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:
|
build-binaries-darwin:
|
||||||
needs: go-test
|
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
|
|
||||||
@ -90,7 +89,6 @@ jobs:
|
|||||||
path: dist-darwin
|
path: dist-darwin
|
||||||
|
|
||||||
build-binaries-linux-amd64:
|
build-binaries-linux-amd64:
|
||||||
needs: go-test
|
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
@ -122,7 +120,6 @@ jobs:
|
|||||||
path: dist-linux
|
path: dist-linux
|
||||||
|
|
||||||
build-binaries-linux-arm64:
|
build-binaries-linux-arm64:
|
||||||
needs: go-test
|
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
@ -160,7 +157,6 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-binaries-windows:
|
build-binaries-windows:
|
||||||
needs: go-test
|
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
@ -193,10 +189,15 @@ jobs:
|
|||||||
path: dist-windows
|
path: dist-windows
|
||||||
|
|
||||||
publish:
|
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
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user