Skip to content

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #156

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #156

Workflow file for this run

name: main
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
go mod download
go mod vendor
- name: Run linters
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
with:
version: v1.53
args: --verbose
# See: https://github.com/golangci/golangci-lint-action/issues/244
skip-pkg-cache: true
skip-build-cache: true
- name: Build
run: |
go build -o ./bin/terraform-provider-oryhydra