github.com/panmari/cuckoofilter@v1.0.7-0.20231223155748-763d1d471ee8/.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    build_vet_test:
    11      runs-on: ubuntu-latest
    12      strategy:
    13        matrix:
    14          go: [ '1.15', '>=1.5 <2']
    15      steps:
    16      - uses: actions/checkout@v4
    17  
    18      - name: Go ${{ matrix.go }} 
    19        uses: actions/setup-go@v5
    20        with:
    21          go-version: ${{ matrix.go }} 
    22  
    23      - name: Build
    24        run: go build -v ./...
    25  
    26      - name: Vet
    27        run: go vet ./...
    28  
    29      - name: Test
    30        run: go test -v ./...