Skip to content

chore(deps): update actions/checkout action to v6 (#165) #425

chore(deps): update actions/checkout action to v6 (#165)

chore(deps): update actions/checkout action to v6 (#165) #425

Workflow file for this run

name: Build and Test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build and Test
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Build
run: |
cmake -B build
cmake --build build
- name: Test
run: ctest --test-dir build
- name: Install
run: sudo cmake --install build
- name: Smoke test
run: |
cmake -B build
cmake --build build
./build/ci-cmake
./build/ci-pkgconfig
working-directory: ci