Update ci.yml #443
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ^1.19 | |
- name: Build | |
run: make build | |
- name: Run tests with coverage | |
run: make cover | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |