Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/readings-window/blob/main/.github/workflows/ci.yml # readings-window aien-dev/readings-window Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `readings-window / .github / workflows / ci.yml` 37 lines ยท 1259 bytes Raw Blame History 1 # CI: build and test with the committed Cargo.lock (--locked refuses any silent dependency 2 # drift) on a GitHub-hosted runner, with pinned actions and read-only token permissions. 3 # A second job writes an SPDX SBOM of the tree so auditors can diff what a commit contains. 4 name: CI 5 on: 6 pull_request: 7 push: 8 branches: [main] 9 permissions: 10 contents: read 11 jobs: 12 test: 13 runs-on: ubuntu-latest 14 timeout-minutes: 30 15 steps: 16 - uses: actions/checkout@`3d3c42e5aac5ba805825da76410c181273ba90b1` # v7.0.1 17 with: 18 persist-credentials: false 19 - uses: dtolnay/rust-toolchain@`b725eda525362e7cf34af9a7243cac1e3f01a7ec` # stable 20 - name: Toolchain record 21 run: rustc --version && cargo --version 22 - name: Build 23 run: cargo build --locked --all-targets 24 - name: Test 25 run: cargo test --locked 26 sbom: 27 runs-on: ubuntu-latest 28 timeout-minutes: 10 29 steps: 30 - uses: actions/checkout@`3d3c42e5aac5ba805825da76410c181273ba90b1` # v7.0.1 31 with: 32 persist-credentials: false 33 - uses: anchore/sbom-action@`66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c` # v0.24.3 34 with: 35 path: . 36 format: spdx-json 37 artifact-name: sbom-${{ github.sha }}.spdx.json