Skip to content

Commit

Permalink
ci: split
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Nov 13, 2023
1 parent f5c50a8 commit ece9d72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pr

on:
pull_request:

# Common Go workflows from go faster
# See https://github.com/go-faster/x
jobs:
test:
uses: go-faster/x/.github/workflows/test.yml@main
cover:
uses: go-faster/x/.github/workflows/cover.yml@main
lint:
uses: go-faster/x/.github/workflows/lint.yml@main
commit:
uses: go-faster/x/.github/workflows/commit.yml@main
4 changes: 0 additions & 4 deletions .github/workflows/x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: x
on:
push:
branches: [main]
pull_request:
workflow_dispatch:

# Common Go workflows from go faster
# See https://github.com/go-faster/x
Expand All @@ -15,5 +13,3 @@ jobs:
uses: go-faster/x/.github/workflows/cover.yml@main
lint:
uses: go-faster/x/.github/workflows/lint.yml@main
commit:
uses: go-faster/x/.github/workflows/commit.yml@main

0 comments on commit ece9d72

Please sign in to comment.