Skip to content

Commit

Permalink
github/workflows: drop 1.19 and test every branch other than **-wip
Browse files Browse the repository at this point in the history
for uniformity across repositories

Signed-off-by: Alejandro Mery <[email protected]>
  • Loading branch information
amery committed Sep 21, 2023
1 parent a4193e3 commit a1e845e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
name: Go
name: Build
on:
push:
branches: [ "main" ]
branches-ignore:
- '**-wip'
pull_request:
branches: [ "*" ]
branches:
- "*"
jobs:
build:
make:
runs-on: ubuntu-latest
# Pull requests from the same repository won't trigger this checks as they were already triggered by the push
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
strategy:
matrix:
go: [ '1.19', '1.20', '1.21' ]
go: [ '1.20', '1.21' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand Down

0 comments on commit a1e845e

Please sign in to comment.