Split out actions, only run them as required, fix GITHUB_SHA under PR context

This commit is contained in:
Mazo 2021-06-13 23:26:47 +01:00
parent f0d39f9943
commit 3ab5b12fbe
3 changed files with 48 additions and 30 deletions

View file

@ -1,5 +1,10 @@
name: Test
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
types: [ opened, reopened, synchronize ]
jobs:
test:
runs-on: ubuntu-latest