|
18 | 18 | name: Lint Python |
19 | 19 | runs-on: ubuntu-latest |
20 | 20 | steps: |
21 | | - - uses: actions/checkout@v7 |
22 | | - - uses: astral-sh/ruff-action@v4.1.0 |
| 21 | + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 22 | + with: |
| 23 | + persist-credentials: false |
| 24 | + - uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0 |
23 | 25 | with: |
24 | 26 | args: "check --select=E,F,PLC,PLE,UP,W,YTT --ignore=E721,PLC0206,PLC0415,PLC1901,S101,UP031 --target-version=py39" |
25 | 27 | # Do not ruff format gyp example code in markdown files. |
|
30 | 32 | runs-on: ubuntu-latest |
31 | 33 | steps: |
32 | 34 | - name: Checkout Repository |
33 | | - uses: actions/checkout@v7 |
| 35 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 36 | + with: |
| 37 | + persist-credentials: false |
34 | 38 | - name: Use Node.js 22.x |
35 | | - uses: actions/setup-node@v7 |
| 39 | + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 |
36 | 40 | with: |
37 | 41 | node-version: 22.x |
38 | 42 | - name: Install Dependencies |
|
45 | 49 | runs-on: ubuntu-latest |
46 | 50 | steps: |
47 | 51 | - name: Checkout Repository |
48 | | - uses: actions/checkout@v7 |
| 52 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 53 | + with: |
| 54 | + persist-credentials: false |
49 | 55 | - name: Use Node.js 22.x |
50 | | - uses: actions/setup-node@v7 |
| 56 | + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 |
51 | 57 | with: |
52 | 58 | node-version: 22.x |
53 | 59 | - name: Install Dependencies |
|
64 | 70 | timeout-minutes: 30 |
65 | 71 | steps: |
66 | 72 | - name: Checkout Repository |
67 | | - uses: actions/checkout@v7 |
| 73 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 74 | + with: |
| 75 | + persist-credentials: false |
68 | 76 | - name: Use Node.js 22.x |
69 | | - uses: actions/setup-node@v7 |
| 77 | + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 |
70 | 78 | with: |
71 | 79 | node-version: 22.x |
72 | 80 | - name: Update npm |
@@ -120,17 +128,19 @@ jobs: |
120 | 128 | WASI_SDK_PATH: 'wasi-sdk-25.0' |
121 | 129 | steps: |
122 | 130 | - name: Checkout Repository |
123 | | - uses: actions/checkout@v7 |
| 131 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 132 | + with: |
| 133 | + persist-credentials: false |
124 | 134 | - name: Use Node.js ${{ matrix.node }} |
125 | | - uses: actions/setup-node@v7 |
| 135 | + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 |
126 | 136 | with: |
127 | 137 | node-version: ${{ matrix.node }} |
128 | 138 | - name: Use Python ${{ matrix.python }} |
129 | | - uses: actions/setup-python@v7 |
| 139 | + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 |
130 | 140 | with: |
131 | 141 | python-version: ${{ matrix.python }} |
132 | 142 | allow-prereleases: true |
133 | | - - uses: seanmiddleditch/gha-setup-ninja@v6 |
| 143 | + - uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6 |
134 | 144 | - name: Install wasi-sdk (Windows) |
135 | 145 | shell: pwsh |
136 | 146 | if: runner.os == 'Windows' |
|
0 commit comments