Add workflow for building Docker image on commit to main #9
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: "Pull Request" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: "Lint and test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test |