Skip to content

Commit d13b0bd

Browse files
committed
Update GH Action pins
1 parent 2982f25 commit d13b0bd

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

.github/workflows/codspeed.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
benchmarks:
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
1818
with:
1919
python-version: "3.9"
2020

@@ -39,7 +39,7 @@ jobs:
3939
poetry run python -c 'import pendulum._pendulum'
4040
4141
- name: Run benchmarks
42-
uses: CodSpeedHQ/action@v3
42+
uses: CodSpeedHQ/action@dbda7111f8ac363564b0c51b992d4ce76bb89f2f # v4.5.2
4343
with:
4444
token: ${{ secrets.CODSPEED_TOKEN }}
4545
run: poetry run pytest tests/ --codspeed

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ jobs:
5252

5353
runs-on: ${{ matrix.os }}-latest
5454
steps:
55-
- uses: actions/checkout@v4
55+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656

5757
- name: set up python
58-
uses: actions/setup-python@v4
58+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5959
with:
6060
python-version: '3.11'
6161
architecture: ${{ matrix.python-architecture || 'x64' }}
6262

6363
- name: build wheels
64-
uses: PyO3/maturin-action@v1
64+
uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
6565
with:
6666
target: ${{ matrix.target }}
6767
manylinux: ${{ matrix.manylinux || 'auto' }}
@@ -72,7 +72,7 @@ jobs:
7272

7373
- run: ${{ matrix.ls || 'ls -lh' }} dist/
7474

75-
- uses: actions/upload-artifact@v4
75+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7676
with:
7777
name: dist-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux }}
7878
path: dist
@@ -81,14 +81,14 @@ jobs:
8181
runs-on: ubuntu-latest
8282
environment: release
8383
steps:
84-
- uses: actions/checkout@v3
84+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8585
- name: Build sdist
86-
uses: PyO3/maturin-action@v1
86+
uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
8787
with:
8888
command: sdist
8989
args: --out dist
9090
- name: Upload sdist
91-
uses: actions/upload-artifact@v4
91+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
9292
with:
9393
name: dist-sdist
9494
path: dist
@@ -97,7 +97,7 @@ jobs:
9797
runs-on: ubuntu-latest
9898
environment: release
9999
steps:
100-
- uses: actions/checkout@v3
100+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101101
- name: Install and configure Poetry
102102
run: pipx install poetry
103103
- name: Hotswap build backend for Poetry
@@ -109,7 +109,7 @@ jobs:
109109
- name: Run poetry build
110110
run: poetry build -f wheel
111111
- name: Upload no-ext wheel
112-
uses: actions/upload-artifact@v4
112+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
113113
with:
114114
name: dist-any
115115
path: dist
@@ -127,10 +127,10 @@ jobs:
127127
url: https://pypi.org/project/pendulum/
128128
steps:
129129
- name: Checkout code
130-
uses: actions/checkout@v2
130+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
131131

132132
- name: Download artifacts
133-
uses: actions/download-artifact@v4
133+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
134134
with:
135135
pattern: dist*
136136
path: dist
@@ -147,12 +147,12 @@ jobs:
147147
|| echo prerelease=true >> $GITHUB_OUTPUT
148148
149149
- name: Create Release
150-
uses: ncipollo/release-action@v1
150+
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
151151
with:
152152
artifacts: "dist/*"
153153
draft: false
154154
prerelease: steps.check-version.outputs.prerelease == 'true'
155155
body: "See CHANGELOG.md for details"
156156

157157
- name: Publish package distributions to PyPI
158-
uses: pypa/gh-action-pypi-publish@release/v1
158+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
name: Linting
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/setup-python@v4
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2222
with:
2323
python-version: "3.11"
2424
- name: "Install pre-commit"
@@ -39,10 +39,10 @@ jobs:
3939
shell: bash
4040

4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4343

4444
- name: Set up Python ${{ matrix.python-version }}
45-
uses: actions/setup-python@v4
45+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
4646
with:
4747
python-version: ${{ matrix.python-version }}
4848
allow-prereleases: true
@@ -60,7 +60,7 @@ jobs:
6060
run: poetry config virtualenvs.in-project true
6161

6262
- name: Set up cache
63-
uses: actions/cache@v3
63+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
6464
id: cache
6565
with:
6666
path: .venv

0 commit comments

Comments
 (0)