abstract action creation, refactor proxy, add proxy tests #139
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: Build and Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.23.0 | |
- name: No formatting changes | |
run: | | |
make format | |
git diff --exit-code | |
- name: Mocks up to date | |
run: | | |
go install go.uber.org/mock/mockgen@latest | |
make generate-mocks | |
git diff --exit-code | |
- name: Test | |
run: make test |