Skip to content

build(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1 #118

build(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1

build(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1 #118

Workflow file for this run

name: "Lint PRs"
on:
pull_request:
types:
- edited
- opened
- reopened
- synchronized
jobs:
# This job checks the PR title using
# https://github.com/conventional-changelog/commitlint
# for the conventional commit format at
# https://www.conventionalcommits.org/en/v1.0.0/
# See also /.github/commitlint.config.js for more details
# We only need to check the PR title because it will end up being the
# (default) commit title when doing squash merges with Github.
# See
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#merge-message-for-a-squash-merge
# for more info. We have "Default to PR title for squash merge commits" enabled.
commit-lint:
name: "Check PR title"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- run: npm install -g @commitlint/cli @commitlint/config-conventional
- name: "Check PR title"
# Inject as env variable to escape properly
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
commitlint --config .github/commitlint.config.js --edit=<(echo "${TITLE}")
check:
name: "check"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: make check
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
args: --verbose
verify: false # workaround https://github.com/golangci/golangci-lint-action/issues/1179
- run: make test
- run: make build