Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

chore(deps): Bump k8s.io/apimachinery from 0.28.1 to 0.28.2 #180

chore(deps): Bump k8s.io/apimachinery from 0.28.1 to 0.28.2

chore(deps): Bump k8s.io/apimachinery from 0.28.1 to 0.28.2 #180

Workflow file for this run

name: Go Tests
on:
push:
branches: ["main", "master"]
pull_request:
branches: ["main", "master", "release-*"]
jobs:
test:
name: Go Tests
strategy:
matrix:
go-version: ["1.20"]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}
timeout-minutes: 10
steps:
- name: Check out Code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Install tparse
run: go install github.com/mfridman/tparse@latest
- name: Check for .codecov.yaml
id: codecov-enabled
uses: andstor/file-existence-action@v2
with:
files: .codecov.yaml
- if: steps.codecov-enabled.outputs.files_exists == 'true'
name: Enable Go Coverage
run: echo 'COVER_OPTS=-coverprofile=coverage.txt -covermode=atomic' >> $GITHUB_ENV
- name: Test
env:
GOFLAGS: "-v -race -count=1 -json"
run: go test $COVER_OPTS ./... | tparse -all -notests -format markdown >> $GITHUB_STEP_SUMMARY
- name: Verify git clean
shell: bash
run: |
if [[ -z "$(git status --porcelain)" ]]; then
echo "${{ github.repository }} up to date."
else
echo "${{ github.repository }} is dirty."
echo "::error:: $(git status)"
exit 1
fi
- if: steps.codecov-enabled.outputs.files_exists == 'true'
name: Produce Codecov Report
uses: codecov/codecov-action@v3