Skip to content

fix(deps): update module github.com/metal-toolbox/fleetdb to v1.20.1 #1607

fix(deps): update module github.com/metal-toolbox/fleetdb to v1.20.1

fix(deps): update module github.com/metal-toolbox/fleetdb to v1.20.1 #1607

Workflow file for this run

name: lint, test and build image
on: [pull_request, push]
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-cache: true
args: --config .golangci.yml --timeout 2m
version: v1.61.0
- name: Test
run: go test ./...
verify-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Generate docs
run: make gen-docs
- name: Verify docs are up to date
run: git diff | (! grep .)
build:
runs-on: ubuntu-latest
needs: [lint-test, verify-docs]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: build binary
run: make build-linux
- name: Inspect action SARIF report
run: cat ${{ steps.scan.outputs.sarif }}
if: always()