Skip to content

Bump docker/metadata-action from 4.6.0 to 5.0.0 #502

Bump docker/metadata-action from 4.6.0 to 5.0.0

Bump docker/metadata-action from 4.6.0 to 5.0.0 #502

Workflow file for this run

name: Build and Test
on: ["push", "pull_request"]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- uses: alexellis/setup-arkade@v3
- uses: alexellis/arkade-get@master
with:
golangci-lint: latest
- name: Lint Go Code
run: |
make lint-go
build:
name: Build
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Build
run: |
make build
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run Unit tests.
run: |
make test