Skip to content

Merge pull request #251 from kubeservice-stack/e2e-framework #481

Merge pull request #251 from kubeservice-stack/e2e-framework

Merge pull request #251 from kubeservice-stack/e2e-framework #481

Workflow file for this run

name: Go
on:
push:
branches: "*"
pull_request:
branches: "*"
paths-ignore:
- 'docs/**'
- 'vendor/**'
- '*.md'
- '*.yml'
jobs:
build:
name: ubuntu - Go v1.19
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
cache: false
- name: Checkout
uses: actions/checkout@v3
# This action uses its own setup-go, which always seems to use the latest
# stable version of Go. We could run 'make lint' to ensure our desired Go
# version, but we prefer this action because it leaves 'annotations' (i.e.
# it comments on PRs to point out linter violations).
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: 'v1.49'
args: --timeout=10m