Skip to content

fix wrong golangci-lint flag #46

fix wrong golangci-lint flag

fix wrong golangci-lint flag #46

name: Terrafrom Basic Test Process
on:
push:
paths:
- .github/workflows/acctest-terraform-basic.yml
- alicloud/*.go
branches:
- master
pull_request:
paths:
- .github/workflows/acctest-terraform-basic.yml
- alicloud/*.go
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go Version
uses: actions/setup-go@v2
with:
go-version: '1.19.3'
- name: Get dependencies
run: |
go install golang.org/x/tools/cmd/goimports@latest
go mod tidy
- name: fmtcheck
run: |
make fmtcheck
- name: importscheck
run: |
make importscheck
- name: vet
run: |
make vet
# - name: test
# run: |
# make test
Field-Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '3'
- uses: actions/setup-go@v2
with:
go-version: '1.19.3'
- name: grant permissions
run: |
chmod +rwx scripts/field_check.sh
- name: Field Check
run: |
sudo bash scripts/field_check.sh