Skip to content

Commit a630a8d

Browse files
authored
Merge branch 'actions:main' into cache/mvn-wrapper
2 parents a8fc099 + cd89f46 commit a630a8d

76 files changed

Lines changed: 11008 additions & 7637 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ignore list
2+
/*
3+
4+
# Do not ignore these folders:
5+
!__tests__/
6+
!src/

.eslintrc.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// This is a reusable configuration file copied from https://github.com/actions/reusable-workflows/tree/main/reusable-configurations. Please don't make changes to this file as it's the subject of an automatic update.
2+
module.exports = {
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:eslint-plugin-jest/recommended',
7+
'eslint-config-prettier'
8+
],
9+
parser: '@typescript-eslint/parser',
10+
plugins: ['@typescript-eslint', 'eslint-plugin-node', 'eslint-plugin-jest'],
11+
rules: {
12+
'@typescript-eslint/no-require-imports': 'error',
13+
'@typescript-eslint/no-non-null-assertion': 'off',
14+
'@typescript-eslint/no-explicit-any': 'off',
15+
'@typescript-eslint/no-empty-function': 'off',
16+
'@typescript-eslint/ban-ts-comment': [
17+
'error',
18+
{
19+
'ts-ignore': 'allow-with-description'
20+
}
21+
],
22+
'no-console': 'error',
23+
'yoda': 'error',
24+
'prefer-const': [
25+
'error',
26+
{
27+
destructuring: 'all'
28+
}
29+
],
30+
'no-control-regex': 'off',
31+
'no-constant-condition': ['error', {checkLoops: false}],
32+
'node/no-extraneous-import': 'error'
33+
},
34+
overrides: [
35+
{
36+
files: ['**/*{test,spec}.ts'],
37+
rules: {
38+
'@typescript-eslint/no-unused-vars': 'off',
39+
'jest/no-standalone-expect': 'off',
40+
'jest/no-conditional-expect': 'off',
41+
'no-console': 'off',
42+
43+
}
44+
}
45+
],
46+
env: {
47+
node: true,
48+
es6: true,
49+
'jest/globals': true
50+
}
51+
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* text=auto eol=lf
12
dist/index.js -diff -merge
23
dist/index.js linguist-generated=true
34
.licenses/** -diff linguist-generated=true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: false

.github/workflows/basic-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ on:
1414
jobs:
1515
call-basic-validation:
1616
name: Basic validation
17-
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
17+
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: CodeQL analysis
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
schedule:
99
- cron: '0 3 * * 0'
1010

1111
jobs:
1212
call-codeQL-analysis:
13-
name: CodeQL analysis
14-
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main
13+
name: CodeQL analysis
14+
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main

.github/workflows/e2e-cache.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ jobs:
151151
exit 1
152152
fi
153153
154-
155154
- name: Check files to cache on ubuntu-latest
156155
if: matrix.os == 'ubuntu-latest'
157156
run: |

.github/workflows/e2e-publishing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
if ($content -notlike '*maven*') {
8787
throw "settings.xml file is not overwritten"
8888
}
89-
89+
9090
test-publishing-skip-overwrite:
9191
name: settings.xml is not overwritten if flag is false
9292
runs-on: ${{ matrix.os }}
@@ -150,4 +150,4 @@ jobs:
150150
$path = Join-Path $env:RUNNER_TEMP "settings.xml"
151151
if (-not (Test-Path $path)) {
152152
throw "settings.xml file is not found in expected location"
153-
}
153+
}

.github/workflows/e2e-versions.yml

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
paths-ignore:
1212
- '**.md'
1313
schedule:
14-
- cron: '0 */12 * * *'
14+
- cron: '0 */12 * * *'
1515
workflow_dispatch:
1616
jobs:
1717
setup-java-major-versions:
@@ -21,21 +21,30 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [macos-latest, windows-latest, ubuntu-latest]
24-
distribution: ['temurin', 'adopt', 'adopt-openj9', 'zulu', 'liberica', 'microsoft', 'corretto' ] # internally 'adopt-hotspot' is the same as 'adopt'
25-
version: ['8', '11', '16']
24+
distribution: [
25+
'temurin',
26+
'adopt',
27+
'adopt-openj9',
28+
'zulu',
29+
'liberica',
30+
'microsoft',
31+
'semeru',
32+
'corretto'
33+
] # internally 'adopt-hotspot' is the same as 'adopt'
34+
version: ['8', '11', '17']
2635
exclude:
27-
- distribution: microsoft
28-
version: 8
36+
- distribution: microsoft
37+
version: 8
2938
include:
30-
- distribution: oracle
31-
os: macos-latest
32-
version: 17
33-
- distribution: oracle
34-
os: windows-latest
35-
version: 19
36-
- distribution: oracle
37-
os: ubuntu-latest
38-
version: 19
39+
- distribution: oracle
40+
os: macos-latest
41+
version: 17
42+
- distribution: oracle
43+
os: windows-latest
44+
version: 20
45+
- distribution: oracle
46+
os: ubuntu-latest
47+
version: 20
3948
steps:
4049
- name: Checkout
4150
uses: actions/checkout@v3
@@ -59,13 +68,13 @@ jobs:
5968
os: [macos-latest, windows-latest, ubuntu-latest]
6069
distribution: ['temurin', 'zulu', 'liberica']
6170
version:
62-
- '11.0'
63-
- '8.0.302'
64-
- '16.0.2+7'
71+
- '11.0'
72+
- '8.0.302'
73+
- '17.0.7+7'
6574
include:
66-
- distribution: oracle
67-
os: ubuntu-latest
68-
version: '19.0.1'
75+
- distribution: oracle
76+
os: ubuntu-latest
77+
version: '20.0.1'
6978
steps:
7079
- name: Checkout
7180
uses: actions/checkout@v3
@@ -191,7 +200,7 @@ jobs:
191200
fail-fast: false
192201
matrix:
193202
os: [macos-latest, windows-latest, ubuntu-latest]
194-
distribution: ['temurin', 'zulu', 'liberica']
203+
distribution: ['temurin', 'zulu', 'liberica', 'semeru']
195204
java-package: ['jre']
196205
version: ['17.0']
197206
include:
@@ -262,7 +271,7 @@ jobs:
262271
fail-fast: false
263272
matrix:
264273
os: [macos-latest, windows-latest, ubuntu-latest]
265-
distribution: ['temurin', 'microsoft', 'corretto' ]
274+
distribution: ['temurin', 'microsoft', 'corretto']
266275
steps:
267276
- name: Checkout
268277
uses: actions/checkout@v3
@@ -287,7 +296,7 @@ jobs:
287296
fail-fast: false
288297
matrix:
289298
os: [macos-latest, windows-latest, ubuntu-latest]
290-
distribution: ['temurin', 'zulu', 'liberica', 'microsoft', 'corretto' ]
299+
distribution: ['temurin', 'zulu', 'liberica', 'microsoft', 'corretto']
291300
steps:
292301
- name: Checkout
293302
uses: actions/checkout@v3
@@ -311,7 +320,7 @@ jobs:
311320
fail-fast: false
312321
matrix:
313322
os: [macos-latest, windows-latest, ubuntu-latest]
314-
distribution: [ 'adopt', 'adopt-openj9', 'zulu' ]
323+
distribution: ['adopt', 'adopt-openj9', 'zulu']
315324
steps:
316325
- name: Checkout
317326
uses: actions/checkout@v3
@@ -335,7 +344,7 @@ jobs:
335344
fail-fast: false
336345
matrix:
337346
os: [macos-latest, windows-latest, ubuntu-latest]
338-
distribution: ['adopt', 'zulu', 'liberica' ]
347+
distribution: ['adopt', 'zulu', 'liberica']
339348
steps:
340349
- name: Checkout
341350
uses: actions/checkout@v3

.github/workflows/release-new-action-version.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
name: releaseNewActionVersion
2222
runs-on: ubuntu-latest
2323
steps:
24-
- name: Update the ${{ env.TAG_NAME }} tag
25-
id: update-major-tag
26-
uses: actions/publish-action@v0.2.2
27-
with:
28-
source-tag: ${{ env.TAG_NAME }}
29-
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
24+
- name: Update the ${{ env.TAG_NAME }} tag
25+
id: update-major-tag
26+
uses: actions/publish-action@v0.2.2
27+
with:
28+
source-tag: ${{ env.TAG_NAME }}
29+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)