Skip to content

Commit

Permalink
Run github actions less
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Oct 3, 2023
1 parent 877d8ef commit 1c7c855
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 30 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Binary Build
on:
push:
branches: '*'
pull_request:
branches: [master] # This allows us to test PRs without always needing to build locally. It's secure as all first time contributors first need to be approved for running GitHub actions
branches:
- master
- 'v.+'
tags: ['**']
jobs:
build:
strategy:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/check_js.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Check JavaScript
on:
push:
branches: '*'
pull_request:
branches: [master]
jobs:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/pr_compile_check.yml

This file was deleted.

15 changes: 2 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
name: "Tests"
name: "Tests + Compile"
on:
pull_request:
branches: [master]
push:
branches: [master]

jobs:
tests:
runs-on: ARM64
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/a95ed9fe764c3ba2bf2d2fa223012c379cd6b32e.tar.gz
if: matrix.os != 'ARM64'
- uses: cachix/cachix-action@v12
with:
name: digitallyinduced
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
if: matrix.os != 'ARM64'
- run: nix develop --impure --command tests
- run: nix develop --impure --command fastbuild

0 comments on commit 1c7c855

Please sign in to comment.