Skip to content

Commit a9ab4eb

Browse files
committed
fix/update/cicd
1 parent fdf20f2 commit a9ab4eb

4 files changed

Lines changed: 16 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on:
33
push:
44
pull_request:
55
workflow_dispatch:
6-
schedule:
7-
- cron: '0 0 * * *'
6+
87
concurrency:
98
group: ${{ github.workflow }}-${{ github.ref }}
109
cancel-in-progress: true
@@ -21,7 +20,7 @@ jobs:
2120
steps:
2221
- uses: actions/checkout@v4
2322
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v3
23+
uses: docker/setup-buildx-action@v4
2524
- name: Build service TEST image
2625
env:
2726
DOCKER_BUILDKIT: 1
@@ -33,7 +32,7 @@ jobs:
3332
- name: Save images for downstream jobs
3433
run: |
3534
docker save local/service-test:ci | gzip > service-test.tar.gz
36-
- uses: actions/upload-artifact@v4
35+
- uses: actions/upload-artifact@v6
3736
with:
3837
name: test-images
3938
path: service-test.tar.gz
@@ -48,8 +47,8 @@ jobs:
4847
os: [ ubuntu-latest ]
4948
needs: build-test-images
5049
steps:
51-
- uses: actions/checkout@v4
52-
- uses: actions/download-artifact@v4
50+
- uses: actions/checkout@v5
51+
- uses: actions/download-artifact@v6
5352
with:
5453
name: test-images
5554
- name: Load images
@@ -63,7 +62,7 @@ jobs:
6362
python -m coverage run -m pytest
6463
'
6564
- name: Upload coverage xml
66-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@v6
6766
with:
6867
name: coverage-xml
6968
path: service/reports/ci/coverage.xml

.github/workflows/codeql.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ on:
1616
branches: [ "main" ]
1717
pull_request:
1818
branches: [ "main" ]
19-
schedule:
20-
- cron: '0 0 * * *'
2119

2220
jobs:
2321
analyze:
@@ -57,7 +55,7 @@ jobs:
5755
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5856
steps:
5957
- name: Checkout repository
60-
uses: actions/checkout@v4
58+
uses: actions/checkout@v6
6159

6260
# Add any setup steps before running the `github/codeql-action/init` action.
6361
# This includes steps like installing compilers or runtimes (`actions/setup-node`

.github/workflows/lint.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on:
33
push:
44
workflow_dispatch:
55
pull_request:
6-
schedule:
7-
- cron: '0 0 * * *'
6+
87
permissions:
98
security-events: write
109
jobs:
@@ -15,11 +14,11 @@ jobs:
1514
fail-fast: false
1615
matrix:
1716
os: [ ubuntu-latest, windows-latest ]
18-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
17+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" , "3.14" , "3.15" ]
1918
steps:
20-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2120
- name: Setup Python
22-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@v6
2322
with:
2423
python-version: ${{ matrix.python-version }}
2524
cache: "pip"

.github/workflows/pytest.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on:
33
push:
44
pull_request:
55
workflow_dispatch:
6-
schedule:
7-
- cron: '0 0 * * *'
6+
87
concurrency:
98
group: ${{ github.workflow }}-${{ github.ref }}
109
cancel-in-progress: true
@@ -19,16 +18,16 @@ jobs:
1918
fail-fast: false
2019
matrix:
2120
os: [ ubuntu-latest, windows-latest ]
22-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
21+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" , "3.14" , "3.15" ]
2322
env:
2423
PYTHONUTF8: "1"
2524
PYTHONPATH: ${{ github.workspace }}/service
2625
steps:
2726
- name: Checkout
28-
uses: actions/checkout@v4
27+
uses: actions/checkout@v6
2928

3029
- name: Set up Python
31-
uses: actions/setup-python@v5
30+
uses: actions/setup-python@v6
3231
with:
3332
python-version: ${{ matrix.python-version }}
3433
cache: "pip"
@@ -71,7 +70,7 @@ jobs:
7170
python -m coverage run -m pytest -q
7271
python -m coverage xml -o coverage.xml
7372
- name: Upload coverage.xml
74-
uses: actions/upload-artifact@v4
73+
uses: actions/upload-artifact@v6
7574
with:
7675
name: coverage-${{ matrix.os }}-py${{ matrix.python-version }}
7776
path: coverage.xml

0 commit comments

Comments
 (0)