mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 12:37:45 +00:00
feat: add a small workflow
This commit is contained in:
parent
4526d9d062
commit
5020daf3ec
1 changed files with 19 additions and 0 deletions
19
.github/workflows/pr.yaml
vendored
Normal file
19
.github/workflows/pr.yaml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: PR
|
||||
runs-on: self-hosted
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
concurrency:
|
||||
cancel-in-progress: true
|
||||
group: ${{ github.actor }}
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v15
|
||||
- name: Build
|
||||
run: |
|
||||
nix build --print-build-logs -v
|
Loading…
Add table
Add a link
Reference in a new issue