Skip to content

chore: bump docker/metadata-action from 5.0.0 to 5.1.0 #696

chore: bump docker/metadata-action from 5.0.0 to 5.1.0

chore: bump docker/metadata-action from 5.0.0 to 5.1.0 #696

Workflow file for this run

name: build-and-test
on:
push:
branches:
- "*"
pull_request:
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-22.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
cache: true
go-version: 1.21.4
- name: Check project dependencies
run: |
rm go.sum
go mod tidy
git -c color.ui=always diff --exit-code go.mod go.sum
- name: Test
run: go test -race ./... -v -coverprofile=coverage.out
- name: Set up kubectl
uses: azure/setup-kubectl@v3.2
with:
version: v1.28.0
- name: Generate Install Manifests
run: |
hack/generate-manifests.sh
git -c color.ui=always diff --exit-code deploy/
- name: Upload Coverage Report
uses: codecov/codecov-action@v3
with:
file: ./coverage.out
flags: unittests
name: codecov-umbrella