|
64 | 64 | ${{ env.BASE_CACHE_KEY }}
|
65 | 65 | - name: Setup curl cache
|
66 | 66 | run: mkdir -p ${{ env.CURL_CACHE_DIR }}
|
67 |
| - # Install go-critic, GoSec and staticcheck Go tools |
68 |
| - - name: Install go-critic |
69 |
| - env: |
70 |
| - PACKAGE_URL: github.com/go-critic/go-critic/cmd/gocritic |
71 |
| - PACKAGE_VERSION: ${{ steps.setup-env.outputs.go-critic-version }} |
72 |
| - run: go install ${PACKAGE_URL}@${PACKAGE_VERSION} |
73 |
| - - name: Install GoSec |
74 |
| - env: |
75 |
| - PACKAGE_URL: github.com/securego/gosec/v2/cmd/gosec |
76 |
| - PACKAGE_VERSION: ${{ steps.setup-env.outputs.gosec-version }} |
77 |
| - run: go install ${PACKAGE_URL}@${PACKAGE_VERSION} |
78 |
| - - name: Install staticcheck |
79 |
| - env: |
80 |
| - PACKAGE_URL: dominikh/staticcheck-action |
81 |
| - PACKAGE_VERSION: ${{ steps.setup-env.outputs.staticcheck-version }} |
82 |
| - run: go install ${PACKAGE_URL}@${PACKAGE_VERSION} |
83 | 67 | - name: Install Packer
|
84 | 68 | env:
|
85 | 69 | PACKER_VERSION: ${{ steps.setup-env.outputs.packer-version }}
|
|
96 | 80 | - uses: hashicorp/setup-terraform@v2
|
97 | 81 | with:
|
98 | 82 | terraform_version: ${{ steps.setup-env.outputs.terraform-version }}
|
| 83 | + # Begin Go packages install below |
| 84 | + - name: Install GoCritic |
| 85 | + env: |
| 86 | + PACKAGE_URL: github.com/go-critic/go-critic/cmd/gocritic |
| 87 | + PACKAGE_VERSION: ${{ steps.setup-env.outputs.go-critic-version }} |
| 88 | + run: go install ${PACKAGE_URL}@${PACKAGE_VERSION} |
| 89 | + - name: Install GoSec |
| 90 | + env: |
| 91 | + PACKAGE_URL: github.com/securego/gosec/v2/cmd/gosec |
| 92 | + PACKAGE_VERSION: ${{ steps.setup-env.outputs.gosec-version }} |
| 93 | + run: go install ${PACKAGE_URL}@${PACKAGE_VERSION} |
| 94 | + - name: Install Staticcheck |
| 95 | + env: |
| 96 | + PACKAGE_URL: dominikh/staticcheck-action |
| 97 | + PACKAGE_VERSION: ${{ steps.setup-env.outputs.go-staticcheck-version }} |
| 98 | + run: go install ${PACKAGE_URL}@${PACKAGE_VERSION} |
99 | 99 | - name: Install shfmt
|
100 | 100 | env:
|
101 | 101 | PACKAGE_URL: mvdan.cc/sh/v3/cmd/shfmt
|
|
0 commit comments