feat(Makefile): use ./script/go.bash #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ensures that ./internal/cmd/buildtool gofixpath {command} [arguments] downloads the correct | |
# version of go and executes {command} with [arguments] with "go" being the right version. | |
# | |
# See https://github.com/ooni/probe/issues/2664. | |
name: gofixpath | |
on: | |
push: | |
branches: | |
- "release/**" | |
- "fullbuild" | |
- "gofixpathbuild" | |
- "master" | |
tags: | |
- "v*" | |
pull_request: | |
schedule: | |
- cron: "17 7 * * *" | |
jobs: | |
build_with_specific_go_version: | |
strategy: | |
matrix: | |
goversion: ["1.19", "1.20", "1.21"] # when releasing check whether we need to update this array | |
system: [ubuntu-latest, macos-latest] | |
runs-on: "${{ matrix.system }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "${{ matrix.goversion }}" | |
- run: ./script/go.bash run ./internal/cmd/buildtool generic miniooni |