| 1 |
version: 2.1 |
| 2 |
|
| 3 |
jobs: |
| 4 |
test: |
| 5 |
docker: |
| 6 |
- image: cimg/go:1.18 |
| 7 |
steps: |
| 8 |
- checkout |
| 9 |
- run: |
| 10 |
name: Run vet |
| 11 |
command: go vet ./... |
| 12 |
- run: |
| 13 |
name: Run tests |
| 14 |
command: go test ./... |
| 15 |
when: always |
| 16 |
|
| 17 |
workflows: |
| 18 |
version: 2.1 |
| 19 |
on_push: |
| 20 |
jobs: |
| 21 |
- test |