github.com/expr-lang/expr@v1.16.9/.github/workflows/build.yml (about) 1 name: build 2 3 on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9 jobs: 10 test: 11 runs-on: ubuntu-latest 12 strategy: 13 matrix: 14 go-versions: [ '1.18', '1.22' ] 15 go-arch: [ '386' ] 16 steps: 17 - uses: actions/checkout@v3 18 - name: Setup Go ${{ matrix.go-version }} 19 uses: actions/setup-go@v4 20 with: 21 go-version: ${{ matrix.go-version }} 22 - name: Build 23 run: GOARCH=${{ matrix.go-arch }} go build