Skip to content

Commit

Permalink
Test auto update script in PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil committed Apr 10, 2024
1 parent 5099a36 commit 03c24b2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

jobs:
check:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -14,3 +14,22 @@ jobs:

- name: build
run: nix-build -A ci

test-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v26

- name: test update script
run: |
nix-build -A autoPrUpdate
{
result/bin/auto-pr-update .
echo '```diff'
git diff
echo '```'
} > $GITHUB_STEP_SUMMARY
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 03c24b2

Please sign in to comment.