Skip to content

Commit 6c3eb68

Browse files
authored
Merge pull request #79 from pllim/action-ver-hash
MNT: Use hash for Action workflow versions and update if needed
2 parents 901c142 + 654dc42 commit 6c3eb68

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions" # See documentation for possible values
9+
directory: ".github/workflows" # Location of package manifests
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
actions:
14+
patterns:
15+
- "*"

.github/workflows/run-benchmarks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
numpy-version: [1.17.4]
2020

2121
steps:
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-python@v2
22+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
23+
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -52,7 +52,7 @@ jobs:
5252
# plots.
5353
./make.py plots
5454
- name: Archive code coverage results
55-
uses: actions/upload-artifact@v2
55+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
5656
with:
5757
name: benchmark-results
5858
path: output/
@@ -63,12 +63,12 @@ jobs:
6363
if: ${{ github.ref == 'refs/heads/main' }}
6464
steps:
6565
- name: Download results
66-
uses: actions/download-artifact@v2
66+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
6767
with:
6868
name: benchmark-results
6969
path: output
7070
- name: Deploy results
71-
uses: JamesIves/github-pages-deploy-action@3.7.1
71+
uses: JamesIves/github-pages-deploy-action@4bcb0dacb6b13c279e55b2a8cd3ddd6271611a09 # v4.6.5
7272
with:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474
BRANCH: gh-pages

0 commit comments

Comments
 (0)