Merge pull request #6 from pepabo/use-uber-mock #18
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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
job-test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: Set up buf | |
uses: k1LoW/gh-setup@v1 | |
with: | |
repo: bufbuild/buf | |
match: ^buf | |
- name: Run test | |
run: make ci | |
- name: Run octocov | |
uses: k1LoW/octocov-action@v0 |