Skip to content

feat(api): add daemon version endpoint client and version comparison #935

feat(api): add daemon version endpoint client and version comparison

feat(api): add daemon version endpoint client and version comparison #935

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
validate:
name: Validate license and lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- validate-headers
- lint
permissions:
id-token: write
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version-file: go.work
- name: Hub login
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
with:
username: dockerpublicbot
password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
with:
driver: cloud
endpoint: "docker/secrets-engine"
install: true
- name: Lint
run: make BUILDER=${{ steps.buildx.outputs.name }} ${{ matrix.target }}