Bump docker/metadata-action from 4.6.0 to 5.5.1 (#229) #311
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: Go | |
on: | |
push: | |
branches: [ master, main ] | |
pull_request: | |
branches: [ master, main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go environment | |
uses: actions/[email protected] | |
with: | |
go-version: 1.20.1 | |
- name: Check out code into the Go module directory | |
uses: actions/[email protected] | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
- name: Build | |
run: go build -v . | |
- name: Test | |
run: go test -v ./... |