Merge pull request #265 from Screenly/codex/update-help_text-format-t… #199
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nix | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "flake.nix" | |
| - "flake.lock" | |
| - "src/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - ".github/workflows/nix.yml" | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - "flake.nix" | |
| - "flake.lock" | |
| - "src/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - ".github/workflows/nix.yml" | |
| jobs: | |
| build: | |
| permissions: | |
| id-token: write | |
| contents: read | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout flake | |
| uses: actions/checkout@v4 | |
| - name: Install nix | |
| uses: DeterminateSystems/nix-installer-action@v8 | |
| - name: Setup FlakeHub Cache | |
| uses: DeterminateSystems/flakehub-cache-action@main | |
| - name: Build screenly-cli | |
| run: nix build .#screenly-cli |