Skip to content

Commit a128f24

Browse files
committed
Split build job in two and reduce misp-modules build time
1 parent 8911811 commit a128f24

File tree

4 files changed

+75
-52
lines changed

4 files changed

+75
-52
lines changed

.github/workflows/release-latest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010

11+
strategy:
12+
matrix:
13+
target: [misp-core, misp-modules]
14+
1115
permissions:
1216
contents: read
1317
packages: write
@@ -43,3 +47,4 @@ jobs:
4347
push: true
4448
provenance: false
4549
files: docker-bake.hcl, env.hcl
50+
targets: ${{ matrix.target }}

.github/workflows/test-build-latest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010

11+
strategy:
12+
matrix:
13+
target: [misp-core, misp-modules]
14+
1115
steps:
1216
- name: Checkout repository
1317
uses: actions/checkout@v4
@@ -32,3 +36,4 @@ jobs:
3236
push: false
3337
provenance: false
3438
files: docker-bake.hcl, env.hcl
39+
targets: ${{ matrix.target }}

modules/files/Pipfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ ODTReader = { git = "https://github.com/cartertemm/ODTReader.git/" }
5454
python-pptx = "*"
5555
python-docx = "*"
5656
ezodf = "*"
57-
pandas = "==1.3.5"
58-
pandas_ods_reader = "==0.1.2"
57+
pandas = "*"
58+
pandas_ods_reader = "*"
5959
pdftotext = "*"
6060
lxml = "*"
6161
xlrd = "*"

modules/files/Pipfile.lock

Lines changed: 63 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)