feat: add vtproto codec #358
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: ci | |
on: ["push", "pull_request"] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- run: make generate | |
- run: make update-licenses | |
- run: make fmt | |
- run: make gomodtidy | |
- run: make fieldalignment | |
- uses: dominikh/[email protected] | |
with: | |
version: "2023.1.3" | |
install-go: false | |
- name: Verify repo is up-to-date | |
run: | | |
if [ -n "$(git status --porcelain)" ]; then | |
echo 'Updates required:' | |
git diff | |
exit 1 | |
fi | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Run tests | |
run: make test |