Skip to content

Commit d48b3fd

Browse files
authored
ci: use prek for ci checks (#55)
bump coatl-dev/workflows from 7.1.1 to 7.1.5 bump coatl-dev/actions from 7.1.3 to 7.1.5
1 parent 0c56a57 commit d48b3fd

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.devcontainer.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "java-api",
2+
"name": "java-api-17",
33
"image": "quay.io/ignition-devs/devcontainer-base:python",
44
"workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind",
55
"workspaceFolder": "/workspaces/java-api",
66
"mounts": [
77
"source=pre-commit-cache,target=/root/.cache/pre-commit,type=volume",
8-
"source=java-api-tox,target=${containerWorkspaceFolder}/.tox,type=volume",
9-
"source=java-api-tox-stubs,target=${containerWorkspaceFolder}/stubs/.tox,type=volume"
8+
"source=java-api-17-tox,target=${containerWorkspaceFolder}/.tox,type=volume",
9+
"source=java-api-17-tox-stubs,target=${containerWorkspaceFolder}/stubs/.tox,type=volume"
1010
],
1111
"customizations": {
1212
"vscode": {

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- '17'
1010

1111
jobs:
12-
pre-commit:
13-
uses: coatl-dev/workflows/.github/workflows/pre-commit.yml@6803f1bf5290b457054db1b58d012c4887b6ada8 # v7.1.1
12+
prek:
13+
uses: coatl-dev/workflows/.github/workflows/prek.yml@a58877dc74fd563f9f4ba98d72c695df8fb19f8a # v7.1.5
1414
with:
1515
checkout-ref: ${{ github.ref }}
1616
skip-hooks: 'pylint'
@@ -19,7 +19,7 @@ jobs:
1919
3.15
2020
2121
pylint:
22-
uses: coatl-dev/workflows/.github/workflows/pylint.yml@6803f1bf5290b457054db1b58d012c4887b6ada8 # v7.1.1
22+
uses: coatl-dev/workflows/.github/workflows/pylint.yml@a58877dc74fd563f9f4ba98d72c695df8fb19f8a # v7.1.5
2323
with:
2424
path: src
2525
checkout-ref: ${{ github.ref }}

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
ref: ${{ github.event.release.tag_name }}
2121

2222
- name: Upload package to PyPI
23-
uses: coatl-dev/actions/pypi-upload@499c77f2bc6f909d372849058517ca2e39ce16d4 # v7.1.3
23+
uses: coatl-dev/actions/pypi-upload@c339f0299e21b3b28b42414e3ea474d33468713c # v7.1.5
2424
with:
2525
password: ${{ secrets.PYPI_API_TOKEN_JAVA_API_PKG }}
2626

2727
- name: Upload stubs to PyPI
28-
uses: coatl-dev/actions/pypi-upload@499c77f2bc6f909d372849058517ca2e39ce16d4 # v7.1.3
28+
uses: coatl-dev/actions/pypi-upload@c339f0299e21b3b28b42414e3ea474d33468713c # v7.1.5
2929
with:
3030
python-version: '3.12'
3131
password: ${{ secrets.PYPI_API_TOKEN_JAVA_API_STUBS }}

‎.github/workflows/tox.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77

88
jobs:
99
tox-package:
10-
uses: coatl-dev/workflows/.github/workflows/tox-docker.yml@6803f1bf5290b457054db1b58d012c4887b6ada8 # v7.1.1
10+
uses: coatl-dev/workflows/.github/workflows/tox-docker.yml@a58877dc74fd563f9f4ba98d72c695df8fb19f8a # v7.1.5
1111
with:
1212
checkout-ref: ${{ inputs.checkout-ref }}
1313

1414
tox-stubs:
15-
uses: coatl-dev/workflows/.github/workflows/tox.yml@6803f1bf5290b457054db1b58d012c4887b6ada8 # v7.1.1
15+
uses: coatl-dev/workflows/.github/workflows/tox.yml@a58877dc74fd563f9f4ba98d72c695df8fb19f8a # v7.1.5
1616
with:
1717
python-versions: |
1818
3.10

0 commit comments

Comments
 (0)