Skip to content

chore(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1 #240

chore(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1

chore(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1 #240

Workflow file for this run

# Copyright 2026 CloudBlue LLC
# SPDX-License-Identifier: Apache-2.0
name: CI
on:
push:
branches:
- master
- 'release/**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
GOLANGCI_LINT_VERSION: 'v2.8.0'
jobs:
changes:
name: Detect changes
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
outputs:
code: ${{ steps.check.outputs.code }}
steps:
- name: Checkout action
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
sparse-checkout: .github/actions
sparse-checkout-cone-mode: false
- name: Detect code changes
id: check
uses: ./.github/actions/detect-code-changes
license:
name: License Headers
needs: [changes]
if: needs.changes.outputs.code == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
cache: false
- name: Install addlicense
run: go install github.com/google/addlicense@latest
- name: Check license headers
run: make license-check
lint:
name: Lint
needs: [changes]
if: needs.changes.outputs.code == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
sdk/go.sum
plugins/contrib/go.sum
- name: Run golangci-lint (root module)
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
install-mode: goinstall
- name: Run golangci-lint (SDK module)
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
install-mode: goinstall
working-directory: sdk
- name: Run golangci-lint (Contrib module)
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
install-mode: goinstall
working-directory: plugins/contrib
test:
name: Test
needs: [changes]
if: needs.changes.outputs.code == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
sdk/go.sum
plugins/contrib/go.sum
- name: Run tests (root module)
run: go test -race ./...
- name: Run tests (SDK module)
run: cd sdk && go test -race ./...
- name: Run tests (Contrib module)
run: cd plugins/contrib && go test -race ./...
build:
name: Build
runs-on: ubuntu-latest
needs: [ license, lint, test ]
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
sdk/go.sum
plugins/contrib/go.sum
- name: Build binary
run: make build
- name: Build onboard tool
run: make build-onboard
- name: Verify binaries exist
run: |
test -f bin/chaperone
./bin/chaperone --version || true
test -f bin/chaperone-onboard
./bin/chaperone-onboard -version