File tree Expand file tree Collapse file tree 5 files changed +76
-83
lines changed Expand file tree Collapse file tree 5 files changed +76
-83
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Java
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " **/*.java"
7+ - " **/*.gradle"
8+ push :
9+ branches :
10+ - main
11+ workflow_dispatch :
12+
13+ jobs :
14+ build :
15+ name : Check if tests compile cleanly with starter sources
16+ runs-on : ubuntu-22.04
17+ steps :
18+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
19+ - name : Set up JDK 1.17
20+ uses : actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
21+ with :
22+ java-version : 17
23+ distribution : " temurin"
24+ - name : Check if tests compile cleanly with starter sources
25+ run : ./gradlew compileStarterTestJava --continue
26+ working-directory : exercises
27+
28+ lint :
29+ name : Lint Java files using Checkstyle
30+ runs-on : ubuntu-22.04
31+ steps :
32+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
33+ - name : Set up JDK 1.17
34+ uses : actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
35+ with :
36+ java-version : 17
37+ distribution : " temurin"
38+ - name : Run checkstyle
39+ run : ./gradlew check --exclude-task test --continue
40+ working-directory : exercises
41+
42+ test :
43+ name : Test all exercises using java-test-runner
44+ runs-on : ubuntu-22.04
45+ steps :
46+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
47+ - name : Test all exercises using java-test-runner
48+ run : bin/test-with-test-runner
49+ - name : Archive test results
50+ uses : actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8
51+ with :
52+ name : test-results
53+ path : exercises/**/build/results.json
54+ if : failure()
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Markdown
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " **/*.md"
7+ push :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ lint :
17+ name : Lint Markdown files
18+ runs-on : ubuntu-22.04
19+ steps :
20+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
21+ - name : Lint markdown
22+ uses : DavidAnson/markdownlint-cli2-action@510b996878fc0d1a46c8a04ec86b06dbfba09de7
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments