Skip to content

Merge pull request #342 from werf/fix-jobs-not-failing-on-errors #260

Merge pull request #342 from werf/fix-jobs-not-failing-on-errors

Merge pull request #342 from werf/fix-jobs-not-failing-on-errors #260

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
GOFLAGS: -mod=readonly
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: Install linter
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
- name: Lint
run: make lint