Skip to content

read nACLs

read nACLs #999

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version-file: ./go.mod
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: latest
ensure-fmt:
name: ensure-fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version-file: ./go.mod
- name: Verify LF
run: |
go install github.com/iuthere/dos2unix@latest
dos2unix -r -w *
git diff --no-ext-diff --quiet --exit-code
- name: Verify terraform fmt
run: |
sudo snap install --classic terraform
terraform fmt -recursive
git diff --no-ext-diff --quiet --exit-code