FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
openapi-generator/.github/workflows/samples-clojure.yaml at master · simPod/openapi-generator · GitHub
simPod
/
openapi-generator
Public
forked from
OpenAPITools/openapi-generator
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
openapi-generator
/
.github
/
workflows
/
samples-clojure.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
51 lines (50 loc) · 1.42 KB
Breadcrumbs
openapi-generator
/
.github
/
workflows
/
samples-clojure.yaml
Copy path
File metadata and controls
51 lines (50 loc) · 1.42 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name
:
Samples Clojure Client
on
:
push
:
paths
:
-
samples/client/petstore/clojure/**
pull_request
:
paths
:
-
samples/client/petstore/clojure/**
jobs
:
build
:
name
:
Build Clojure Client (JDK11)
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
sample
:
-
samples/client/petstore/clojure/
services
:
petstore-api
:
image
:
swaggerapi/petstore
ports
:
-
80:8080
env
:
SWAGGER_HOST
:
http://petstore.swagger.io
SWAGGER_BASE_PATH
:
/v2
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Add hosts to /etc/hosts
run
:
|
sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
-
uses
:
actions/setup-java@v5
with
:
distribution
:
'
temurin
'
java-version
:
11
-
name
:
Cache maven dependencies
uses
:
actions/cache@v4
env
:
cache-name
:
maven-repository
with
:
path
:
|
~/.m2
key
:
${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
-
name
:
Install Leiningen (if using Leiningen)
run
:
|
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > lein
chmod +x lein
sudo mv lein /usr/local/bin/
-
name
:
Run tests (Leiningen)
working-directory
:
${{ matrix.sample }}
run
:
lein test
Back
|
FazBrowse Home
|
New Git URL