Update dependencies #188
Workflow file for this run
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: Go | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
bin: | |
name: Build binary and run unit tests | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v4 | |
- name: Set up Go using version from go.mod | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Build antrea-operator binary | |
run: make bin | |
- name: Run tests | |
run: make test | |
check-tidy: | |
name: Check tidy | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v4 | |
- name: Set up Go using version from go.mod | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Check tidy | |
run: make test-tidy |