Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
workflows: split check and test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Sep 29, 2022
1 parent d30b03b commit b480951
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/checking.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Checking

on:
push:
branches:
- master

jobs:
check:
runs-on: ubuntu-latest
container:
image: ghcr.io/homebrew/ubuntu22.04:master
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Check formulae
run: brew test-bot --only-tap-syntax
14 changes: 0 additions & 14 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,9 @@ name: Testing

on:
pull_request:
push:
branches:
- master

jobs:
check:
runs-on: ubuntu-latest
container:
image: ghcr.io/homebrew/ubuntu22.04:master
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Check formulae
run: brew test-bot --only-tap-syntax
build:
if: github.event_name == 'pull_request'
needs: check
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit b480951

Please sign in to comment.