Skip to content

Commit b8266c6

Browse files
committed
chore: replace action tags with sha keys
1 parent eafa864 commit b8266c6

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- '313'
2323
- '314'
2424
steps:
25-
- uses: actions/checkout@v4
26-
- uses: prefix-dev/setup-pixi@v0.9.4
25+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
26+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
2727
with:
2828
pixi-version: v0.65.0
2929
cache: true
@@ -35,7 +35,7 @@ jobs:
3535
run: pixi run -e tests-linux-py${{ matrix.python-version }} tests-with-cov
3636
- name: Upload coverage report.
3737
if: matrix.python-version == '312'
38-
uses: codecov/codecov-action@v4
38+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}
4141
run-tests-win-and-mac:
@@ -52,8 +52,8 @@ jobs:
5252
- '313'
5353
- '314'
5454
steps:
55-
- uses: actions/checkout@v4
56-
- uses: prefix-dev/setup-pixi@v0.9.4
55+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
56+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
5757
with:
5858
pixi-version: v0.65.0
5959
cache: true
@@ -67,8 +67,8 @@ jobs:
6767
name: Run tests on ubuntu-latest with plotly < 6
6868
runs-on: ubuntu-latest
6969
steps:
70-
- uses: actions/checkout@v4
71-
- uses: prefix-dev/setup-pixi@v0.9.4
70+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
71+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
7272
with:
7373
pixi-version: v0.65.0
7474
cache: true
@@ -89,8 +89,8 @@ jobs:
8989
- '313'
9090
- '314'
9191
steps:
92-
- uses: actions/checkout@v4
93-
- uses: prefix-dev/setup-pixi@v0.9.4
92+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
93+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
9494
with:
9595
pixi-version: v0.65.0
9696
cache: true
@@ -106,8 +106,8 @@ jobs:
106106
name: Run code snippets in documentation
107107
runs-on: ubuntu-latest
108108
steps:
109-
- uses: actions/checkout@v4
110-
- uses: prefix-dev/setup-pixi@v0.9.4
109+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
110+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
111111
with:
112112
pixi-version: v0.65.0
113113
cache: true
@@ -123,8 +123,8 @@ jobs:
123123
name: Run mypy
124124
runs-on: ubuntu-latest
125125
steps:
126-
- uses: actions/checkout@v4
127-
- uses: prefix-dev/setup-pixi@v0.9.4
126+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
127+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
128128
with:
129129
pixi-version: v0.65.0
130130
cache: true

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
name: Build and publish optimagic Python 🐍 distributions 📦 to PyPI
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1010
- name: Set up Python 3.12
11-
uses: actions/setup-python@v5
11+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1212
with:
1313
python-version: '3.12'
1414
- name: Install pypa/build

0 commit comments

Comments
 (0)