chore(deps): bump docker/metadata-action from 1294d94f8ee362ab42b6da04c35f4cd03a0e6af7 to f7b4ed12385588c3f9bc252f0a2b520d83b52d48 #71
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: Test Build Go Project | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.1 | |
- name: Install templ and run templ generate | |
run: | | |
go install github.com/a-h/templ/cmd/templ@latest | |
templ generate | |
- name: Build | |
run: go build -v ./cmd/main.go |