switch the golangci install method #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: go-static-analysis | |
on: [push, pull_request] | |
jobs: | |
golangci: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: checkout PR | |
uses: actions/checkout@v2 | |
- name: run make lint | |
run: make lint | |
shellcheck: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout PR | |
uses: actions/checkout@v2 | |
- name: run make shellcheck | |
run: make shellcheck | |
hadolint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout PR | |
uses: actions/checkout@v2 | |
- name: run make hadolint | |
run: make hadolint |