chore(ci): bump auguwu/clippy-action from fc55104bde35cbd21451ee5830aad15c0cac8b5b to 962d8b0e6fcddcfdeca07d43ddf3469463d6b5cb #1291
Workflow file for this run
This file contains 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 Shell Build" | |
on: | |
pull_request: | |
branches: ["main", "nix"] | |
push: | |
branches: ["main", "nix"] | |
permissions: | |
contents: read | |
jobs: | |
nix-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
crates.io:443 | |
index.crates.io:443 | |
static.crates.io:443 | |
static.rust-lang.org:443 | |
nixos.org:443 | |
cache.nixos.org:443 | |
channels.nixos.org:443 | |
releases.nixos.org:443 | |
tarballs.nixos.org:443 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
submodules: true | |
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: rrbutani/use-nix-shell-action@59a52b2b9bbfe3cc0e7deb8f9059abe37a439edf # v1.1.0 | |
with: | |
file: shell.nix | |
- name: Add Nightly | |
run: rustup toolchain install nightly-x86_64-unknown-linux-gnu | |
- name: Add Rustup | |
run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu | |
- name: Build | |
run: just build |