1
1
mirror of https://github.com/tweag/nickel.git synced 2024-11-09 15:54:52 +03:00

Merge pull request #290 from tweag/fix/github-actions-syntax

Fix arguments to the on attribute in GH actions
This commit is contained in:
Yann Hamdaoui 2021-02-09 18:48:33 +00:00 committed by GitHub
commit 9592d7935b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 20 deletions

View File

@ -1,7 +1,8 @@
name: "Test Nickel building on master"
on:
branches:
- master
push:
branches:
- master
jobs:
test-nickel-building:

View File

@ -1,17 +1,8 @@
name: "Test Nickel building in PRs"
on:
pull_request:
name: "Build Nickel"
on: pull_request
jobs:
test-nickel-building:
strategy:
matrix:
rust_channel:
- stable
- beta
- nightly
build-nickel:
runs-on: ubuntu-latest
@ -41,8 +32,11 @@ jobs:
- uses: cachix/cachix-action@v8
with:
name: nickel
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build Nickel against `${{ matrix.rust_channel }}` Rust channel
- name: Build Nickel
run: |
nix build ./#checks.x86_64-linux.nickel-against-${{ matrix.rust_channel }}-rust-channel
nix build ./#packages.x86_64-linux.build
- name: Run Makam Spec
run: |
nix build ./#checks.x86_64-linux.specs

View File

@ -1,9 +1,9 @@
name: "Test specs"
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs: