Merge pull request #115 from Mellanox/dependabot/go_modules/github.co… #66
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 | |
hadolint: | |
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 hadolint | |
run: make hadolint |