github.com/pkg/sftp@v1.13.6/.github/workflows/CI.yml (about) 1 name: CI 2 3 on: 4 push: 5 branches: [master] 6 pull_request: 7 8 jobs: 9 run-tests: 10 name: Run test cases 11 runs-on: ${{ matrix.os }} 12 strategy: 13 matrix: 14 os: [ubuntu-latest, macos-latest] 15 go: [1.19, 1.18] 16 exclude: 17 - os: macos-latest 18 go: 1.18 19 20 steps: 21 - uses: actions/checkout@v3 22 23 - name: Set up Go 24 uses: actions/setup-go@v3 25 with: 26 go-version: ${{ matrix.go }} 27 28 - name: Run tests 29 run: | 30 make integration 31 make integration_w_race 32 33 - name: Run tests on 32-bit arch 34 if: startsWith(matrix.os, 'ubuntu-') 35 run: | 36 make integration 37 env: 38 GOARCH: 386