Skip to content

feat: miscellaneous updates #46

feat: miscellaneous updates

feat: miscellaneous updates #46

Workflow file for this run

# SPDX-FileCopyrightText: 2025 Ryan Cao <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
name: Check
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
nixfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
with:
persist-credentials: false
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # ratchet:cachix/install-nix-action@v31
- name: Check
run: nix build --print-build-logs '.#checks.x86_64-linux.nixfmt'
reuse:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
with:
persist-credentials: false
- name: Install Nix
uses: cachix/install-nix-action@d1ca217b388ee87b2507a9a93bf01368bde7cec2 # ratchet:cachix/install-nix-action@v31
- name: Check
run: nix build --print-build-logs '.#checks.x86_64-linux.reuse'