supermicro/x11: lower case device model before comparison #1407
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: For each commit and PR | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
CGO_ENABLED: 1 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: -v --config .golangci.yml --timeout=5m | |
version: latest | |
- name: make all-checks | |
run: make all-checks | |
test: | |
runs-on: ubuntu-latest | |
env: | |
CGO_ENABLED: 1 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: make all-tests | |
run: make all-tests | |
- name: upload codecov | |
run: bash <(curl -s https://codecov.io/bash) |