Implement export #594
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: "Main" | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
name: "build" | |
runs-on: "ubuntu-20.04" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: cache go dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-${{ hashFiles('go.sum', 'Makefile', 'versions.mk') }} | |
restore-keys: | | |
go- | |
- run: make generate && make check-uncommitted | |
- run: make lint | |
- run: make test |