mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Add simple github actions checks
This commit is contained in:
parent
b7b50f4098
commit
d52e92a8ba
1 changed files with 26 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
nixpkgs_version: ["19.09", "master"]
|
||||
# os: [ubuntu-latest, macos-latest]
|
||||
|
||||
env:
|
||||
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${{ matrix.nixpgs_version }}.tar.gz"
|
||||
steps:
|
||||
- uses: cachix/install-nix-action@v8
|
||||
- uses: actions/checkout@v1
|
||||
- name: Run tests
|
||||
run: nix-shell -p git --run "nix-build --no-out-link --show-trace tests"
|
||||
- name: Check format
|
||||
run: ./check-fmt
|
Loading…
Add table
Reference in a new issue