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

Fix go syntax in README #884

Fix go syntax in README

Fix go syntax in README #884

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
- '!dependabot/**'
pull_request: {}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.20.x
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Regenerate files
run: |
./hack/update-codegen.sh
- name: Check for drift in generated files
run: |
git diff --exit-code .
- name: Test
run: |
go test -v ./... -coverprofile cover.out
- name: Report coverage
run: |
bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: 16421b44-8cd3-49d9-a01e-189c5141009e