Skip to content

Commit 2b24b79

Browse files
committed
Update GitHub Actions to use latest action versions for Python and Docker setup
1 parent d7c9590 commit 2b24b79

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/deploy-python-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ jobs:
6060
6161
- name: Checkout repository
6262
if: github.event_name != 'release' || steps.check-python-release.outputs.is-python-release == 'true'
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6464
with:
6565
fetch-depth: 0 # Full history for mike versioning
6666
token: ${{ secrets.GITHUB_TOKEN }}
6767

6868
- name: Set up Python
6969
if: github.event_name != 'release' || steps.check-python-release.outputs.is-python-release == 'true'
70-
uses: actions/setup-python@v5
70+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
7171
with:
7272
python-version: '3.11'
7373
cache: 'pip'

.github/workflows/release-python-packages.yml

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

5353
steps:
5454
- name: Checkout code
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5656

5757
- name: Set up Docker Buildx
58-
uses: docker/setup-buildx-action@v3
58+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5959

6060
- name: Build ${{ matrix.distribution }} distribution
6161
run: |
6262
cd bindings/python
6363
./build-all.sh ${{ matrix.distribution }}
6464
6565
- name: Upload wheel artifact
66-
uses: actions/upload-artifact@v4
66+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6767
with:
6868
name: wheel-${{ matrix.distribution }}
6969
path: bindings/python/dist/*.whl
@@ -79,7 +79,7 @@ jobs:
7979
id-token: write
8080
steps:
8181
- name: Download headless wheel
82-
uses: actions/download-artifact@v4
82+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
8383
with:
8484
name: wheel-headless
8585
path: dist/
@@ -96,7 +96,7 @@ jobs:
9696
id-token: write
9797
steps:
9898
- name: Download minimal wheel
99-
uses: actions/download-artifact@v4
99+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
100100
with:
101101
name: wheel-minimal
102102
path: dist/
@@ -113,7 +113,7 @@ jobs:
113113
id-token: write
114114
steps:
115115
- name: Download full wheel
116-
uses: actions/download-artifact@v4
116+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
117117
with:
118118
name: wheel-full
119119
path: dist/

.github/workflows/test-python-bindings.yml

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

5353
steps:
5454
- name: Checkout code
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5656

5757
- name: Set up Docker Buildx
58-
uses: docker/setup-buildx-action@v3
58+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5959

6060
- name: Build and test ${{ matrix.distribution }} distribution
6161
run: |
@@ -72,12 +72,12 @@ jobs:
7272
cp dist/*${{ matrix.distribution }}*.whl test-install/ || cp dist/*.whl test-install/
7373
7474
- name: Set up Python for host testing
75-
uses: actions/setup-python@v5
75+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
7676
with:
7777
python-version: '3.11'
7878

7979
- name: Install Java (required for JPype)
80-
uses: actions/setup-java@v4
80+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
8181
with:
8282
distribution: 'temurin'
8383
java-version: '21'
@@ -151,7 +151,7 @@ jobs:
151151
152152
- name: Upload test results
153153
if: always()
154-
uses: actions/upload-artifact@v4
154+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
155155
with:
156156
name: test-results-${{ matrix.distribution }}
157157
path: |
@@ -160,7 +160,7 @@ jobs:
160160
retention-days: 7
161161

162162
- name: Upload wheel artifact
163-
uses: actions/upload-artifact@v4
163+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
164164
with:
165165
name: wheel-${{ matrix.distribution }}-test
166166
path: bindings/python/dist/*.whl

0 commit comments

Comments
 (0)