Update Redfish objects to 2023.3 bundle #369
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: Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
# Get the code | |
- uses: actions/checkout@v4 | |
# Setup our go environment | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20.0' | |
# Build the code | |
- name: Run build | |
run: go build . | |
# Run unit tests | |
- name: Run tests | |
run: make test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Setup our go environment | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20.0' | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.57 |