Skip to content

Create a command similar to build-minirootfs for CPIO #3400

Create a command similar to build-minirootfs for CPIO

Create a command similar to build-minirootfs for CPIO #3400

Workflow file for this run

name: verify
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v2.2.0
with:
go-version-file: 'go.mod'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
timeout-minutes: 5
with:
version: v1.59.1
- run: |
make generate
go mod tidy
git diff --exit-code