Skip to content
This repository was archived by the owner on Oct 14, 2023. It is now read-only.

Commit d58708f

Browse files
ci: enable GitHub Actions (#184)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/8807a95d-0d7c-4251-bd7e-a87799fc9f67/targets Source-Link: googleapis/synthtool@98c5077 Source-Link: googleapis/synthtool@55cdc84
1 parent 3bf0c6b commit d58708f

File tree

3 files changed

+83
-7
lines changed

3 files changed

+83
-7
lines changed

.github/workflows/ci.yaml

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
name: ci
7+
jobs:
8+
units:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
java: [7, 8, 11]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-java@v1
16+
with:
17+
java-version: ${{matrix.java}}
18+
- run: java -version
19+
- run: .kokoro/build.sh
20+
env:
21+
JOB_TYPE: test
22+
- name: coverage
23+
uses: codecov/codecov-action@v1
24+
with:
25+
name: actions ${{matrix.java}}
26+
windows:
27+
runs-on: windows-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: actions/setup-java@v1
31+
with:
32+
java-version: 8
33+
- run: java -version
34+
- run: .kokoro/build.bat
35+
env:
36+
JOB_TYPE: test
37+
dependencies:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
- uses: actions/setup-java@v1
42+
with:
43+
java-version: 8
44+
- run: java -version
45+
- run: .kokoro/dependencies.sh
46+
linkage-monitor:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: actions/setup-java@v1
51+
with:
52+
java-version: 8
53+
- run: java -version
54+
- run: .kokoro/linkage-monitor.sh
55+
lint:
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v2
59+
- uses: actions/setup-java@v1
60+
with:
61+
java-version: 8
62+
- run: java -version
63+
- run: .kokoro/build.sh
64+
env:
65+
JOB_TYPE: lint
66+
clirr:
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v2
70+
- uses: actions/setup-java@v1
71+
with:
72+
java-version: 8
73+
- run: java -version
74+
- run: .kokoro/build.sh
75+
env:
76+
JOB_TYPE: clirr

.kokoro/build.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:: See documentation in type-shell-output.bat
22

3-
"C:\Program Files\Git\bin\bash.exe" github/java-translate/.kokoro/build.sh
3+
"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh

synth.metadata

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-translate.git",
7-
"sha": "3279a1ede06316b140278cc89781ed0d2658c0ad"
7+
"sha": "3bf0c6bf445f2a3ea91f598bb2c8385295b6a3e3"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "ee4ea76504aa60c2bff9b7c11269c155d8c21e0d",
15-
"internalRef": "305619145"
14+
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
15+
"internalRef": "310660461"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "ee4ea76504aa60c2bff9b7c11269c155d8c21e0d",
23-
"internalRef": "305619145"
22+
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
23+
"internalRef": "310660461"
2424
}
2525
},
2626
{
2727
"git": {
2828
"name": "synthtool",
2929
"remote": "https://github.com/googleapis/synthtool.git",
30-
"sha": "f8a9933e5e98202b04ef427f28d1d79221190fa4"
30+
"sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c"
3131
}
3232
}
3333
],

0 commit comments

Comments
 (0)