Skip to content

Inventory describe improved #67

Inventory describe improved

Inventory describe improved #67

Workflow file for this run

name: CI Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# Optional: allow write access to checks to allow the action to annotate code in the PR.
checks: write
jobs:
lint-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "^1.22.0"
- name: Install dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libasound2-dev libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxxf86vm-dev
go mod download
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: "v1.60"
args: "-E gofmt"
- name: Build
run: make build-bin