name: Go

on: [push, pull_request]

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.17

    - name: Test
      run: go test -race -count 2 -bench . ./...

    - name: Bench
      run: go test -run @ -bench . ./...

name: Go

on: [push, pull_request]

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: Set up Go
      uses: actions/setup-go@v2
      with:
        go-version: 1.18

    - name: Test
      run: go test -race -count 2 -bench . ./...

    - name: Bench
      run: go test -run @ -bench . ./...

Switch CI to Go 1.18
Switch CI to Go 1.18
