Skip to content

Bump actions/attest-build-provenance from 2.2.3 to 2.3.0 #206

Bump actions/attest-build-provenance from 2.2.3 to 2.3.0

Bump actions/attest-build-provenance from 2.2.3 to 2.3.0 #206

Workflow file for this run

name: Build
on:
push:
branches:
- master
- 'release/**'
pull_request:
schedule:
- cron: '0 0 * * *' # Runs every night at midnight UTC
permissions:
contents: read
jobs:
clang-format-check:
name: Clang Format Check
runs-on: macos-15
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: Install Clang Format
run: |
brew update
brew install clang-format
clang-format --version
- name: Run Clang Format Check
run: |
# Format all source - if the source is formatted properly this will do nothing
clang-format -i *.c *.h client/*.c
# Do we have unwanted changes?
if ! git diff-index --quiet HEAD; then
# Show the changes
echo "ERROR: Code is not properly formatted."
echo
git --no-pager diff
echo
echo "Please run clang-format locally and commit the changes."
exit 1
fi
build:
name: Build
strategy:
fail-fast: false
matrix:
platform:
- macos-13
- macos-14
- macos-15
runs-on: ${{ matrix.platform }}
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: Build
run: make
- name: Run markdownlint with auto-fix
uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 #v19
with:
fix: true # Enabled to improve reported errors
globs: '**/*.md'
config: '.markdownlint.json'