github.com/alibabacloud-go/tea@v1.3.10/.github/workflows/go.yml (about) 1 name: Go CI 2 3 on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9 jobs: 10 11 build: 12 runs-on: ubuntu-latest 13 strategy: 14 matrix: 15 go: ["1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20"] 16 fail-fast: false 17 18 steps: 19 - name: Set up Go 1.x 20 uses: actions/setup-go@v4 21 with: 22 go-version: ${{ matrix.go }} 23 24 - name: Check out code into the Go module directory 25 uses: actions/checkout@v2 26 27 - name: Build Darabonba 28 run: go build ./dara 29 - name: Build Tea 30 run: go build ./tea 31 - name: Build Util 32 run: go build ./utils 33 34 - name: Test 35 run: go test -race -coverprofile=coverage.txt -covermode=atomic ./dara/... ./utils/... ./tea/... 36 37 - name: CodeCov 38 run: bash <(curl -s https://codecov.io/bash)