Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2c53c1a
Update actions/cache to 3.0.4 version (#392)
kotewar Oct 17, 2022
de1bb2b
feat: support Gradle version catalog (#394)
KengoTODA Oct 17, 2022
bf2f02c
Pass the token input through on GHES for Microsoft Build of OpenJDK (…
dmitry-shibanov Nov 18, 2022
7db6b45
Eclipse Temurin instead of Adopt OpenJDK (#398)
LorenzoBettini Nov 18, 2022
6cdf39a
Add support for Oracle JDK (#401)
fniephaus Nov 23, 2022
bd7e5d2
Update minimatch to 3.1.2 (#413)
dmitry-shibanov Nov 23, 2022
19eeec5
Update to latest `actions/publish-action` (#411)
JamesMGreene Nov 23, 2022
dcd29da
Fix typo in README.md (#419)
ascopes Dec 5, 2022
c3ac5dd
Revert "Add support for Oracle JDK (#401)" (#421)
dmitry-shibanov Dec 5, 2022
1df8dbe
Add support for java.version file (#426)
e-korolevskii Dec 13, 2022
caaa9d7
Update workflows to use reusable-workflows
Dec 14, 2022
1eb7169
Update workflows
Dec 15, 2022
a3c7fb1
Add links to reusable workflows
Dec 15, 2022
545223a
refactor: Use early return pattern to avoid nested conditions (#428)
jongwooo Dec 16, 2022
06db6c2
Update architecture docs (#425)
panticmilos Dec 16, 2022
81f1f77
Update codeql.yml
Dec 16, 2022
3dc9295
Updae codeql.yml
Dec 16, 2022
8a24ed9
Merge branch 'main' of https://github.com/akv-platform/setup-java int…
Dec 19, 2022
007465e
Update action to use reusable-workflows repo
Dec 19, 2022
5bbbb02
Fix review points
Dec 20, 2022
35e7c82
Merge pull request #433 from akv-platform/apply-reusable-workflows
IvanZosimov Dec 22, 2022
bf3c595
Update CODEOWNERS
e-korolevskii Dec 22, 2022
5e1c7d4
update codeowners
e-korolevskii Dec 22, 2022
d401f0c
Merge pull request #435 from actions/update-codeowners
marko-zivic-93 Dec 23, 2022
03d1057
Update CODEOWNERS
e-korolevskii Dec 26, 2022
308abcb
Merge pull request #437 from actions/update-code-owners
marko-zivic-93 Dec 27, 2022
285fb31
Bump json5 from 2.2.0 to 2.2.3 (#439)
dependabot[bot] Jan 9, 2023
e113519
Update release-new-action-version.yml (#442)
MaksimZhukov Jan 12, 2023
8f12c5c
Updated readme file (#446)
piyush280599 Jan 19, 2023
9b86bbe
Update workflow badges (#449)
IvanZosimov Jan 31, 2023
3f07048
Revert "Revert "Add support for Oracle JDK (#401)" (#421)" (#450)
dmitry-shibanov Feb 7, 2023
14d87b2
Add link to the Oracle distribution (#451)
dmitry-shibanov Feb 8, 2023
ea15b3b
Update advanced-usage.md (#436)
benjub Feb 8, 2023
0de5c66
Add and configure ESLint and update configuration for Prettier (#458)
IvanZosimov Mar 9, 2023
676c490
Add update-config-files.yml
Mar 9, 2023
888b400
Merge pull request #463 from akv-platform/reusable-workflow
marko-zivic-93 Mar 10, 2023
669e072
Update configuration files (#464)
github-actions[bot] Mar 14, 2023
5ffc13f
IBM Semeru (OpenJ9) Support (#289)
jord1e Mar 21, 2023
e42168c
Fix glob bug in package.json scripts section (#475)
IvanZosimov Apr 3, 2023
191ba8c
always check postfix "Contents/Home" on macOS (#397)
erwin1 Apr 4, 2023
404e5db
fix sbt/scala cache key (#478)
Dogacel Apr 10, 2023
ddb82ce
Corretto toolcache folder name fix (#480)
IvanZosimov Apr 10, 2023
0b13a57
Update configuration files
github-actions[bot] Jun 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore list
/*

# Do not ignore these folders:
!__tests__/
!src/
51 changes: 51 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// 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.
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:eslint-plugin-jest/recommended',
'eslint-config-prettier'
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'eslint-plugin-node', 'eslint-plugin-jest'],
rules: {
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': 'allow-with-description'
}
],
'no-console': 'error',
'yoda': 'error',
'prefer-const': [
'error',
{
destructuring: 'all'
}
],
'no-control-regex': 'off',
'no-constant-condition': ['error', {checkLoops: false}],
'node/no-extraneous-import': 'error'
},
overrides: [
{
files: ['**/*{test,spec}.ts'],
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'jest/no-standalone-expect': 'off',
'jest/no-conditional-expect': 'off',
'no-console': 'off',

}
}
],
env: {
node: true,
es6: true,
'jest/globals': true
}
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* text=auto eol=lf
dist/index.js -diff -merge
dist/index.js linguist-generated=true
.licenses/** -diff linguist-generated=true
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* @actions/actions-service
* @actions/virtual-environments-owners
* @actions/setup-actions-team
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: false
blank_issues_enabled: false
17 changes: 17 additions & 0 deletions .github/workflows/basic-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Basic validation

on:
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
call-basic-validation:
name: Basic validation
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
31 changes: 0 additions & 31 deletions .github/workflows/build.yml

This file was deleted.

41 changes: 3 additions & 38 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# `dist/index.js` is a special file in Actions.
# When you reference an action with `uses:` in a workflow,
# `index.js` is the code that will run.
# For our project, we generate this file through a build process from other source files.
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/

on:
Expand All @@ -17,36 +12,6 @@ on:
workflow_dispatch:

jobs:
check-dist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm

- name: Install dependencies
run: npm ci

- name: Rebuild the dist/ directory
run: npm run build

- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
path: dist/
call-check-dist:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
14 changes: 14 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CodeQL analysis

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 3 * * 0'

jobs:
call-codeQL-analysis:
name: CodeQL analysis
uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Validate cache

on:
push:
branches:
Expand Down Expand Up @@ -150,7 +151,6 @@ jobs:
exit 1
fi


- name: Check files to cache on ubuntu-latest
if: matrix.os == 'ubuntu-latest'
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e-local-file.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Validate local file

on:
push:
branches:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/e2e-publishing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Validate publishing functionality

on:
push:
branches:
Expand Down Expand Up @@ -85,7 +86,7 @@ jobs:
if ($content -notlike '*maven*') {
throw "settings.xml file is not overwritten"
}

test-publishing-skip-overwrite:
name: settings.xml is not overwritten if flag is false
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -149,4 +150,4 @@ jobs:
$path = Join-Path $env:RUNNER_TEMP "settings.xml"
if (-not (Test-Path $path)) {
throw "settings.xml file is not found in expected location"
}
}
Loading