Skip to content

Commit 0158123

Browse files
authored
Pin github action SHAs (#75)
1 parent 4e64a48 commit 0158123

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/check_tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ jobs:
44
test:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
7+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
88
- name: Set up Python
9-
uses: actions/setup-python@v4
9+
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
1010
with:
1111
python-version: '3.x' # Specify the Python version you want to use
1212
cache: pip

.github/workflows/lint.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ jobs:
44
ruff:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
8-
# Run ruff linter:
9-
- uses: chartboost/ruff-action@v1
10-
# Run ruff linter for formatting:
11-
- uses: chartboost/ruff-action@v1
7+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
8+
9+
# Run ruff linter
10+
- uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1
11+
12+
# Run ruff format
13+
- uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1
1214
with:
1315
args: 'format --check'

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515

1616
steps:
1717
- name: "Checkout code"
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919

2020
- name: Set up Python 3.9
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
2222
with:
2323
python-version: "3.9"
2424

2525
- name: Setup pdm
26-
uses: pdm-project/setup-pdm@v3
26+
uses: pdm-project/setup-pdm@ddc33ca746b5716353581f988b29464200212702 # v3
2727
with:
2828
python-version: "3.9"
2929
cache: true
@@ -32,4 +32,4 @@ jobs:
3232
run: pdm build
3333

3434
- name: Publish package distributions to PyPI
35-
uses: pypa/gh-action-pypi-publish@release/v1
35+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,6 @@ venv.bak/
8484
pixi.lock
8585

8686
.stack-pr.cfg
87-
.vscode
87+
.vscode
88+
89+
.DS_Store

0 commit comments

Comments
 (0)