cc-metric-store/.github/workflows/test.yml

19 lines
381 B
YAML
Raw Permalink Normal View History

2021-08-31 15:18:06 +02:00
name: Build & Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
2024-03-21 20:08:06 +01:00
uses: actions/setup-go@v4
2021-08-31 15:18:06 +02:00
with:
2024-06-26 05:33:53 +02:00
go-version: 1.22.x
2021-08-31 15:18:06 +02:00
- name: Checkout code
2024-03-21 20:08:06 +01:00
uses: actions/checkout@v3
2021-08-31 15:18:06 +02:00
- name: Build, Vet & Test
run: |
go build ./...
go vet ./...
2024-03-21 20:08:06 +01:00
go test ./...
2021-08-31 15:18:06 +02:00