Skip to content

Commit

Permalink
Shard the go-tools build
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Oct 24, 2024
1 parent d9435c4 commit b38a47b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@ on:
- gotip
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 12 * * *'
- cron: "0 12 * * *"
jobs:
go-tools:
name: Build Go Tools
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Init Hermit
run: ./bin/hermit env --raw >> $GITHUB_ENV
- name: Build Go
run: make -C go-tools
run: make GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} -C go-tools build
- name: Upload Versioned
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit b38a47b

Please sign in to comment.