Skip to content

Commit

Permalink
harden workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Nov 30, 2024
1 parent b3a22a1 commit 41ad53f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false

- uses: "pdm-project/setup-pdm@v4"
with:
Expand Down Expand Up @@ -48,6 +50,8 @@ jobs:

steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false

- uses: "actions/setup-python@v5"
with:
Expand Down Expand Up @@ -104,6 +108,8 @@ jobs:

steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
- uses: "pdm-project/setup-pdm@v4"
with:
python-version: "3.12"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: hynek/build-and-inspect-python-package@v1

Expand Down

0 comments on commit 41ad53f

Please sign in to comment.