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:
commit
9592d7935b
5
.github/workflows/master.yml
vendored
5
.github/workflows/master.yml
vendored
@ -1,7 +1,8 @@
|
||||
name: "Test Nickel building on master"
|
||||
on:
|
||||
branches:
|
||||
- master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
|
||||
test-nickel-building:
|
||||
|
24
.github/workflows/pull_request.yml
vendored
24
.github/workflows/pull_request.yml
vendored
@ -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
|
||||
|
6
.github/workflows/specs.yml
vendored
6
.github/workflows/specs.yml
vendored
@ -1,9 +1,9 @@
|
||||
name: "Test specs"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user