decred.org/dcrwallet/v3@v3.1.0/.github/workflows/go.yml (about)

     1  name: Build and Test
     2  on: [push, pull_request]
     3  permissions:
     4    contents: read
     5  
     6  jobs:
     7    build:
     8      name: Go CI
     9      runs-on: ubuntu-latest
    10      strategy:
    11        matrix:
    12          go: ["1.19", "1.20"]
    13      steps:
    14        - name: Set up Go
    15          uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0
    16          with:
    17            go-version: ${{ matrix.go }}
    18        - name: Check out source
    19          uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 #v3.5.0
    20        - name: Build
    21          run: go build ./...
    22        - name: Test
    23          run: |
    24            sh ./run_tests.sh