File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99 contents : read
1010 pull-requests : write
1111jobs :
12- test :
12+ test-code :
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : checkout code in current PR branch
3636 run : go install github.com/google/addlicense@dc31ac9ffcca99c9457226366135701794b128c0
3737 - name : Check licenses
3838 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
3948 - name : Set up Docker
4049 uses : docker/setup-docker-action@e61617a16c407a86262fb923c35a616ddbe070b3 # v4.6.0
4150 with :
4958 - name : docker login
5059 uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
5160 with :
61+ registry : docker.io
5262 username : ${{ secrets.DOCKER_HUB_USERNAME }}
5363 password : ${{ secrets.DOCKER_HUB_TOKEN }}
5464 - name : Set up Docker Buildx
@@ -102,12 +112,3 @@ jobs:
102112 docker run --rm score-compose:pr-${{ github.event.number }} --version
103113 docker run -v .:/score-compose --rm score-compose:pr-${{ github.event.number }} init
104114 cat score.yaml
105-
106-
107-
108-
109-
110-
111-
112-
113-
You can’t perform that action at this time.
0 commit comments