Skip to content

Commit d957b19

Browse files
Merge branch 'main' into dhi-io
Signed-off-by: Mathieu Benoit <[email protected]>
2 parents 869912b + d3cacf0 commit d957b19

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ permissions:
99
contents: read
1010
pull-requests: write
1111
jobs:
12-
test:
12+
test-code:
1313
runs-on: ubuntu-latest
14-
environment: ci-pr
1514
steps:
1615
- name: checkout code in current PR branch
1716
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
@@ -37,6 +36,15 @@ jobs:
3736
run: go install github.com/google/addlicense@dc31ac9ffcca99c9457226366135701794b128c0
3837
- name: Check licenses
3938
run: addlicense -l apache -check -v -ignore '**/*.yaml' -c 'The Score Authors' ./cmd ./internal/
39+
test-container:
40+
runs-on: ubuntu-latest
41+
environment: ci-pr
42+
if: ${{ !github.event.pull_request.head.repo.fork }}
43+
steps:
44+
- name: checkout code in current PR branch
45+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
46+
with:
47+
fetch-depth: 0
4048
- name: Set up Docker
4149
uses: docker/setup-docker-action@e61617a16c407a86262fb923c35a616ddbe070b3 # v4.6.0
4250
with:
@@ -110,4 +118,3 @@ jobs:
110118
docker run --rm score-compose:pr-${{ github.event.number }} --version
111119
docker run -v .:/score-compose --rm score-compose:pr-${{ github.event.number }} init
112120
cat score.yaml
113-

0 commit comments

Comments
 (0)