Expose when externalContestSource (URI) returns non200 #1403
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codestandard | |
on: | |
push: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
jobs: | |
syntax-job: | |
runs-on: ubuntu-latest | |
container: | |
image: domjudge/gitlabci:2.1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run the syntax checks | |
run: .github/jobs/syntax.sh | |
detect-dump: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Search for leftover dump( statements" | |
run: .github/jobs/detect_dump.sh | |
php-linter: | |
runs-on: ubuntu-latest | |
container: | |
image: pipelinecomponents/php-linter:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Detect PHP linting issues | |
run: > | |
parallel-lint --colors | |
lib/lib.*.php | |
etc | |
judge | |
webapp/src | |
webapp/tests | |
webapp/public | |
webapp/config | |
phpcs_compatibility: | |
runs-on: ubuntu-latest | |
container: | |
image: pipelinecomponents/php-codesniffer:latest | |
strategy: | |
matrix: | |
PHPVERSION: ["8.1", "8.2"] | |
steps: | |
- run: apk add git | |
- uses: actions/checkout@v3 | |
- name: Various fixes to this image | |
run: .github/jobs/fix_pipelinecomponents_image.sh | |
- name: Detect compatibility with supported PHP version | |
run: > | |
phpcs -s -p --colors | |
--standard=PHPCompatibility | |
--extensions=php | |
--runtime-set testVersion ${{ matrix.PHPVERSION }} | |
lib/lib.*.php | |
etc | |
judge | |
webapp/src | |
webapp/tests | |
webapp/public | |
webapp/config | |