123456789101112131415161718192021222324252627282930313233 |
- name: Run Tests
- on:
- pull_request:
- branches:
- - main
- push:
- branches:
- - main
- concurrency:
- group: test-amd64-${{ github.head_ref || github.run_id }}
- cancel-in-progress: true
-
- jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Set up Golang 1.20
- uses: actions/setup-go@v5
- with:
- go-version: '1.20'
- - name: Install dependencies
- run: go mod download
- - name: Run tests
- run: go test -v ./...
|