Skip to content

Bump actions/checkout from 6 to 7 #13

Bump actions/checkout from 6 to 7

Bump actions/checkout from 6 to 7 #13

Workflow file for this run

name: "CI - Nix"
on:
push:
branches:
- devel
- master
- main
pull_request:
branches:
- devel
- master
- main
jobs:
distros:
name: "${{ matrix.build }} on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
# build: ["humble", "jazzy", "kilted", "rolling"]
build: ["jazzy"]
steps:
- uses: actions/checkout@v7
- uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v17
with:
name: gepetto
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: ros
- run: nix build -L ".#ros-${{ matrix.build }}"
main:
needs: distros
name: "${{ matrix.os }}"
runs-on: "${{ matrix.os }}-latest"
strategy:
fail-fast: false
matrix:
os: [ubuntu]
steps:
- uses: actions/checkout@v7
- uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v17
with:
name: gepetto
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: ros
- run: nix flake check -L
- run: nix build -L
check:
if: always()
name: check-macos-linux-nix
runs-on: ubuntu-latest
needs:
- distros
- main
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}