|
1 | 1 | {%- raw -%} |
2 | | -# This workflow will run benchmarks with airspeed velocity (asv), |
| 2 | +# This workflow will run benchmarks with airspeed velocity (asv), |
3 | 3 | # store the new results in the "benchmarks" branch and publish them |
4 | 4 | # to a dashboard on GH Pages. |
5 | 5 | name: Run ASV benchmarks for main |
@@ -32,16 +32,16 @@ jobs: |
32 | 32 | working-directory: ${{env.WORKING_DIR}} |
33 | 33 | steps: |
34 | 34 | - name: Set up Python ${{env.PYTHON_VERSION}} |
35 | | - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 |
| 35 | + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 |
36 | 36 | with: |
37 | 37 | python-version: ${{env.PYTHON_VERSION}} |
38 | 38 | - name: Checkout main branch of the repository |
39 | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 |
| 39 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
40 | 40 | with: |
41 | 41 | fetch-depth: 0 |
42 | 42 | persist-credentials: false |
43 | 43 | - name: Install dependencies |
44 | | - run: pip install asv[virtualenv]==${{env.ASV_VERSION}} |
| 44 | + run: pip install asv==${{env.ASV_VERSION}} |
45 | 45 | - name: Configure git |
46 | 46 | run: | |
47 | 47 | git config user.name "github-actions[bot]" |
|
59 | 59 | - name: Run ASV for the main branch |
60 | 60 | run: asv run ALL --skip-existing --verbose || true |
61 | 61 | - name: Submit new results to the "benchmarks" branch |
62 | | - uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 |
| 62 | + uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0 |
63 | 63 | with: |
64 | 64 | branch: benchmarks |
65 | 65 | folder: ${{env.WORKING_DIR}}/_results |
|
69 | 69 | asv show |
70 | 70 | asv publish |
71 | 71 | - name: Deploy to Github pages |
72 | | - uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 |
| 72 | + uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0 |
73 | 73 | with: |
74 | 74 | branch: gh-pages |
75 | 75 | folder: ${{env.WORKING_DIR}}/_html |
|
0 commit comments