Skip to content

fix(deps): update k8s.io/utils digest to 3b25d92 #118

fix(deps): update k8s.io/utils digest to 3b25d92

fix(deps): update k8s.io/utils digest to 3b25d92 #118

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
name: Test and coverage
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.21
id: go
- name: Checkout code
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: go test
run: go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github
vet:
name: go vet and lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.21
id: go
- name: Checkout code
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: go vet
run: go vet ./...
golangci:
name: golangci lint check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.0