Skip to content

Commit 1c76463

Browse files
authored
Merge pull request #32 from pllim/action-ver-hash
MNT: Use hash for Action workflow versions and update if needed
2 parents 714e62c + 887628f commit 1c76463

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
1616
with:
1717
fetch-depth: 0 # full history for setuptools_scm
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
2121
with:
2222
python-version: 3.9
2323

2424
- name: Run pre-commit
25-
uses: pre-commit/action@v3.0.0
25+
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
2626

2727
typing:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
3232
with:
3333
fetch-depth: 0 # full history for setuptools_scm
3434

3535
- name: Set up Python
36-
uses: actions/setup-python@v4
36+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
3737
with:
3838
python-version: 3.9
3939

@@ -44,7 +44,7 @@ jobs:
4444
4545
- name: Cache tox environments
4646
id: cache-tox
47-
uses: actions/cache@v3
47+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
4848
with:
4949
path: .tox
5050
key: tox-typing-${{ hashFiles('setup.cfg') }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}
@@ -63,12 +63,12 @@ jobs:
6363
- 3.9
6464

6565
steps:
66-
- uses: actions/checkout@v3
66+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
6767
with:
6868
fetch-depth: 0 # full history for setuptools_scm
6969

7070
- name: Set up Python
71-
uses: actions/setup-python@v4
71+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474

@@ -79,7 +79,7 @@ jobs:
7979
8080
- name: Cache tox environments
8181
id: cache-tox
82-
uses: actions/cache@v3
82+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
8383
with:
8484
path: .tox
8585
key: tox-${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}

0 commit comments

Comments
 (0)