github.com/line/line-bot-sdk-go/v7@v7.21.0/.github/workflows/go.yml (about) 1 name: Go 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: 16 - '1.19' 17 - '1.19.11' 18 - '1.20' 19 - '1.20.6' 20 steps: 21 - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 22 23 - name: Set up Go 24 uses: actions/setup-go@v4 25 with: 26 go-version: ${{ matrix.go }} 27 28 - name: run codecov.sh 29 run: bash script/codecov.sh 30 31 - name: go vet 32 run: go vet $(go list ./... | grep -v /examples/) 33 34 - name: Publish to codecov.io 35 run: bash <(curl -s https://codecov.io/bash)