Merge pull request #3300 from kubernetes-sigs/dependabot/go_modules/g… #1841
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: Unit Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.19 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: | | |
sudo snap install yq | |
make test | |
- name: Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./cover.out # optional | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: make quick-ci | |
run: | | |
make quick-ci |