Skip to content

Commit

Permalink
ci: try to re-use pants_init3
Browse files Browse the repository at this point in the history
  • Loading branch information
EspenAlbert committed Aug 22, 2023
1 parent 3aff5fd commit 449ded8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/templates/pants_init/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: pants_init
runs:
using: composite
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
- name: Initialize Pants
uses: pantsbuild/actions/init-pants@main
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
- name: pants_init
uses: "./.github/templates/pants_init"
- uses: actions/setup-python@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
- name: pants_init
uses: "./.github/templates/pants_init"
- name: publish_to_pypi
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/typecheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
- name: pants_init
uses: "./.github/templates/pants_init"
- name: mypy
Expand Down

0 comments on commit 449ded8

Please sign in to comment.