Skip to content

Commit 395e94f

Browse files
committed
feat/ci: use commit hash for actions, add arm64 support to test workflow
Signed-off-by: K.B.Dharun Krishna <[email protected]>
1 parent d078665 commit 395e94f

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: "monthly"
6+
interval: "weekly"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
1919
with:
2020
python-version: '3.8'
2121

@@ -56,7 +56,7 @@ jobs:
5656
.
5757
5858
- name: Publish package
59-
uses: pypa/gh-action-pypi-publish@release/v1
59+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
6060
with:
6161
user: __token__
6262
password: ${{ secrets.PYPI_PASSWORD }}

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ on: ['push', 'pull_request']
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: ['ubuntu-latest', 'ubuntu-24.04-arm']
88

99
strategy:
1010
matrix:
1111
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515

1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v5
17+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020

@@ -59,11 +59,12 @@ jobs:
5959

6060
steps:
6161
- uses: actions/checkout@v4
62-
- uses: snapcore/action-build@v1
62+
- uses: canonical/action-build@3bdaa03e1ba6bf59a65f84a751d943d549a54e79 # v1.3.0
6363
id: snapcraft-build
6464
with:
6565
snapcraft-args: "-v"
66-
- uses: actions/upload-artifact@v4
66+
67+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6768
with:
6869
name: ${{ steps.snapcraft-build.outputs.snap }}
6970
path: ${{ steps.snapcraft-build.outputs.snap }}

0 commit comments

Comments
 (0)