github.com/llir/llvm@v0.3.6/.github/workflows/go.yml (about) 1 on: 2 schedule: 3 - cron: "0 9 * * *" 4 push: 5 branches: 6 - '*' 7 paths: 8 - '**.go' 9 pull_request: 10 branches: 11 - '*' 12 paths: 13 - '**.go' 14 # allow you to run this workflow manually from tab 15 workflow_dispatch: 16 17 jobs: 18 test: 19 name: Test 20 runs-on: ${{ matrix.os }} 21 strategy: 22 matrix: 23 os: [ubuntu-latest, macos-latest] 24 go-version: [1.15, 1.16] 25 steps: 26 - name: Set up Go 1.x 27 uses: actions/setup-go@v2 28 with: 29 go-version: ${{ matrix.go-version }} 30 id: go 31 - name: Check out code into the Go module directory 32 uses: actions/checkout@v2 33 - name: Go Install 34 run: go install ./... 35 - name: Get dependencies 36 run: git submodule update --init 37 - name: Go Test 38 run: go test -short ./...