mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
feat: quarantine upstream update candidates
This commit is contained in:
parent
35817ccbf4
commit
5b0336a493
15 changed files with 660 additions and 230 deletions
32
.github/workflows/nightly-ci.yml
vendored
Normal file
32
.github/workflows/nightly-ci.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: Nightly Candidate
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Detect nightly pin changes
|
||||
id: nightly
|
||||
env:
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
||||
run: |
|
||||
if git diff --quiet "$BASE_SHA" "$HEAD_SHA" -- nightly.nix; then
|
||||
echo "changed=false" >>"$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "changed=true" >>"$GITHUB_OUTPUT"
|
||||
fi
|
||||
- if: steps.nightly.outputs.changed == 'true'
|
||||
uses: DeterminateSystems/nix-installer-action@v13
|
||||
- name: Build nightly compatibility suite
|
||||
if: steps.nightly.outputs.changed == 'true'
|
||||
run: nix build .#legacyPackages.x86_64-linux.nightlyChecks.all --accept-flake-config
|
||||
Loading…
Add table
Add a link
Reference in a new issue