8000 Add .gitattributes and normalize line endings · zendesk/googlejavaformat-action@dbff853 · GitHub
[go: up one dir, main page]

Skip to content

Commit dbff853

Browse files
committed
Add .gitattributes and normalize line endings
1 parent b57c61e commit dbff853

File tree

3 files changed

+257
-256
lines changed

3 files changed

+257
-256
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.github/workflows/test.yml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
name: Test
2-
3-
on: [push, pull_request]
4-
5-
jobs:
6-
tests-with-token:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == 'axel-op'
8-
strategy:
9-
fail-fast: false
10-
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-latest]
12-
java-version: [8, 11, 16]
13-
version: ["1.6", ""]
14-
runs-on: ${{ matrix.os }}
15-
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-java@v1
18-
with:
19-
java-version: ${{ matrix.java-version }}
20-
- uses: actions/setup-node@v3
21-
with:
22-
node-version: 16
23-
- name: Compile
24-
run: npm install && npx ncc build index.js -o dist
25-
- uses: ./
26-
with:
27-
skip-commit: true
28-
github-token: ${{ secrets.GITHUB_ 8000 TOKEN }}
29-
version: ${{ matrix.version }}
30-
31-
tests-without-token:
32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
os: [ubuntu-latest, windows-latest, macos-latest]
36-
java-version: [8, 11]
37-
version: ["1.6", ""]
38-
runs-on: ${{ matrix.os }}
39-
steps:
40-
- uses: actions/checkout@v3
41-
- uses: actions/setup-java@v1
42-
with:
43-
java-version: ${{ matrix.java-version }}
44-
- uses: actions/setup-node@v3
45-
with:
46-
node-version: 16
47-
- name: Compile
48-
run: npm install && npx ncc build index.js -o dist
49-
- uses: ./
50-
continue-on-error: ${{ matrix.os == 'macos-latest' }}
51-
with:
52-
skip-commit: true
53-
version: ${{ matrix.version }}
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests-with-token:
7+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == 'axel-op'
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest, windows-latest, macos-latest]
12+
java-version: [8, 11, 16]
13+
version: ["1.6", ""]
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-java@v1
18+
with:
19+
java-version: ${{ matrix.java-version }}
20+
- uses: actions/setup-n 8000 ode@v3
21+
with:
22+
node-version: 16
23+
- name: Compile
24+
run: npm install && npx ncc build index.js -o dist
25+
- uses: ./
26+
with:
27+
skip-commit: true
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
29+
version: ${{ matrix.version }}
30+
31+
tests-without-token:
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
os: [ubuntu-latest, windows-latest, macos-latest]
36+
java-version: [8, 11]
37+
version: ["1.6", ""]
38+
runs-on: ${{ matrix.os }}
39+
steps:
40+
- uses: actions/checkout@v3
41+
- uses: actions/setup-java@v1
42+
with:
43+
java-version: ${{ matrix.java-version }}
44+
- uses: actions/setup-node@v3
45+
with:
46+
node-version: 16
47+
- name: Compile
48+
run: npm install && npx ncc build index.js -o dist
49+
- uses: ./
50+
continue-on-error: ${{ matrix.os == 'macos-latest' }}
51+
with:
52+
skip-commit: true
53+
version: ${{ matrix.version }}

0 commit comments

Comments
 (0)
0