@@ -55,13 +55,21 @@ jobs:
55
55
repository : ' OWASP/railsgoat'
56
56
path : ' repotests/railsgoat'
57
57
ref : ' c1e8ff1e3b24a1c48fcfc9fbee0f65dc296b49d9'
58
+ - uses : actions/checkout@v4
59
+ with :
60
+ repository : ' playframework/play-samples'
61
+ path : ' repotests/play-samples'
62
+ ref : ' 0dccba17856e89dbb5e457ab760efb14cc691395'
58
63
- uses : coursier/cache-action@v6
59
64
- name : Set up JDK
60
65
uses : actions/setup-java@v4
61
66
with :
62
67
distribution : ' temurin'
63
68
java-version : ${{ matrix.java-version }}
64
69
- uses : sbt/setup-sbt@v1
70
+ - uses : coursier/setup-action@v1
71
+ with :
72
+ apps : scala3 scalac
65
73
- name : " Install PHP"
66
74
uses : " shivammathur/setup-php@v2"
67
75
with :
82
90
if : runner.os == 'Linux'
83
91
- run : |
84
92
sbt stage createDistribution
93
+ python -m pip install atom-tools
85
94
cd wrapper/nodejs
86
95
bash build.sh
87
96
sudo npm install -g .
96
105
atom -l c -o ${GITHUB_WORKSPACE}/repotests/libexpat/app.atom ${GITHUB_WORKSPACE}/repotests/libexpat
97
106
atom -o ${GITHUB_WORKSPACE}/repotests/railsgoat/app.atom -l ruby ${GITHUB_WORKSPACE}/repotests/railsgoat
98
107
atom -o ${GITHUB_WORKSPACE}/repotests/bionomia/app.atom -l ruby ${GITHUB_WORKSPACE}/repotests/bionomia
108
+ atom -o ${GITHUB_WORKSPACE}/repotests/play-samples/play-scala-rest-api-example/app.atom -l scala ${GITHUB_WORKSPACE}/repotests/play-samples/play-scala-rest-api-example
99
109
env:
100
110
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101
111
nodejs-testing-windows :
@@ -110,6 +120,10 @@ jobs:
110
120
uses : actions/setup-node@v4
111
121
with :
112
122
node-version : ${{ matrix.node-version }}
123
+ - name : Set up Python
124
+ uses : actions/setup-python@v5
125
+ with :
126
+ python-version : ' 3.12'
113
127
- uses : actions/checkout@v4
114
128
with :
115
129
repository : ' ShiftLeftSecurity/shiftleft-java-example'
@@ -130,17 +144,26 @@ jobs:
130
144
with :
131
145
repository : ' HooliCorp/DjanGoat'
132
146
path : ' repotests/DjanGoat'
147
+ - uses : actions/checkout@v4
148
+ with :
149
+ repository : ' playframework/play-samples'
150
+ path : ' repotests/play-samples'
151
+ ref : ' 0dccba17856e89dbb5e457ab760efb14cc691395'
133
152
- uses : coursier/cache-action@v6
134
153
- name : Set up JDK
135
154
uses : actions/setup-java@v4
136
155
with :
137
156
distribution : ' temurin'
138
157
java-version : ${{ matrix.java-version }}
139
158
- uses : sbt/setup-sbt@v1
159
+ - uses : coursier/setup-action@v1
160
+ with :
161
+ apps : scala3 scalac
140
162
- name : build
141
163
shell : pwsh
142
164
run : |
143
165
sbt stage createDistribution
166
+ python -m pip install atom-tools
144
167
cd wrapper\\nodejs
145
168
copy ..\..\target\atom.zip plugins\
146
169
Expand-Archive -Path ..\..\target\atom.zip -DestinationPath plugins\ -Force
@@ -161,6 +184,7 @@ jobs:
161
184
atom -l python --remove-atom -o $env:GITHUB_WORKSPACE\\repotests\\DjanGoat\\app.atom $env:GITHUB_WORKSPACE\\repotests\\DjanGoat
162
185
atom parsedeps --remove-atom -l python -o $env:GITHUB_WORKSPACE\\repotests\\DjanGoat\\app.atom $env:GITHUB_WORKSPACE\\repotests\\DjanGoat
163
186
atom -l c -o $env:GITHUB_WORKSPACE\\repotests\\libexpat\\app.atom $env:GITHUB_WORKSPACE\\repotests\\libexpat
187
+ atom -l scala -o $env:GITHUB_WORKSPACE\\repotests\\play-samples\\play-scala-rest-api-example\\app.atom $env:GITHUB_WORKSPACE\\repotests\\play-samples\\play-scala-rest-api-example
164
188
- name : test3
165
189
shell : cmd
166
190
run : |
0 commit comments