|
33 | 33 | runs-on: ubuntu-latest
|
34 | 34 | steps:
|
35 | 35 | - name: Set up Python ${{ env.PYTHON_VERSION }}
|
36 |
| - uses: actions/setup-python@v4 |
| 36 | + uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 |
37 | 37 | with:
|
38 | 38 | python-version: ${{ env.PYTHON_VERSION }}
|
39 | 39 | - name: Environment Information
|
|
45 | 45 | run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '[.[] | select(.files[] | contains("linux-x64"))][0].version')" >> $GITHUB_ENV
|
46 | 46 | - name: Install Node.js
|
47 | 47 | id: setup-node
|
48 |
| - uses: actions/setup-node@v3 |
| 48 | + uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 |
49 | 49 | with:
|
50 | 50 | node-version: ${{ env.NIGHTLY || matrix.node-version }}
|
51 | 51 | check-latest: true
|
|
57 | 57 | SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
|
58 | 58 | echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
|
59 | 59 | - name: Checkout ${{ steps.setup-node.outputs.node-version }}
|
60 |
| - uses: actions/checkout@v3 |
| 60 | + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
61 | 61 | with:
|
62 | 62 | persist-credentials: false
|
63 | 63 | ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
|
|
73 | 73 | run: rm -rf wpt
|
74 | 74 | working-directory: test/fixtures
|
75 | 75 | - name: Checkout epochs/daily WPT
|
76 |
| - uses: actions/checkout@v3 |
| 76 | + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
77 | 77 | with:
|
78 | 78 | repository: web-platform-tests/wpt
|
79 | 79 | persist-credentials: false
|
@@ -121,7 +121,7 @@ jobs:
|
121 | 121 | run: cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
|
122 | 122 | - name: Upload GitHub Actions artifact
|
123 | 123 | if: ${{ env.WPT_REPORT != '' }}
|
124 |
| - uses: actions/upload-artifact@v3 |
| 124 | + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 |
125 | 125 | with:
|
126 | 126 | path: out/wpt/wptreport-*.json
|
127 | 127 | name: WPT Reports
|
|
0 commit comments