docs: update PROGRESS.md with Phase 8 completion #19
Workflow file for this run
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
| # GitHub Actions: Simple Nix R CMD check | |
| # Lightweight check using Nix flake devShell with Attic cache | |
| # For full builds, see nix-matrix.yaml | |
| name: nix-check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| ATTIC_SERVER: https://nix-cache.fuzzy-dev.tinyland.dev | |
| ATTIC_CACHE: main | |
| jobs: | |
| nix-check: | |
| runs-on: ubuntu-latest | |
| name: Nix devtools::check | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v27 | |
| with: | |
| extra_nix_config: | | |
| experimental-features = nix-command flakes | |
| accept-flake-config = true | |
| - name: Setup Attic (pull only) | |
| run: | | |
| nix profile install nixpkgs#attic-client | |
| attic login production ${{ env.ATTIC_SERVER }} "${{ secrets.ATTIC_TOKEN }}" | |
| attic use ${{ env.ATTIC_CACHE }} | |
| - name: Show Nix version | |
| run: nix --version | |
| - name: Show flake info | |
| run: nix flake show | |
| - name: Remove renv .Rprofile (prevents interference with Nix) | |
| run: rm -f packages/gnucashr/.Rprofile | |
| - name: Run R CMD check via Nix | |
| env: | |
| RENV_ACTIVATE_PROJECT: "FALSE" | |
| run: | | |
| cd packages/gnucashr && nix develop ../../ --command Rscript -e 'devtools::check(error_on = "error")' |