forked from ORCID/ORCID-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing .tool-versions file needed for manual builds and basic p…
…re-commit support
- Loading branch information
Showing
3 changed files
with
45 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-added-large-files | ||
name: check for added large files | ||
description: prevents giant files from being committed. | ||
entry: check-added-large-files | ||
language: python | ||
stages: [commit, push, manual] | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-added-large-files | ||
name: check for added large files | ||
description: prevents giant files from being committed. | ||
entry: check-added-large-files | ||
language: python | ||
stages: [commit, push, manual] | ||
|
||
- repo: local # Use a local repository | ||
hooks: | ||
- id: actionlint | ||
name: Lint GitHub Actions workflow files | ||
description: Runs actionlint to lint GitHub Actions workflow files | ||
entry: actionlint | ||
language: golang | ||
additional_dependencies: [github.com/rhysd/actionlint/cmd/[email protected]] | ||
types: ["yaml"] | ||
files: "^.github/workflows/" | ||
|
||
- repo: local # Use a local repository | ||
hooks: | ||
- id: actionlint | ||
name: Lint GitHub Actions workflow files | ||
description: Runs actionlint to lint GitHub Actions workflow files | ||
entry: actionlint | ||
language: golang | ||
additional_dependencies: | ||
[github.com/rhysd/actionlint/cmd/[email protected]] | ||
types: ['yaml'] | ||
files: '^.github/workflows/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nodejs 18.7.0 | ||
java temurin-11.0.15+10 | ||
maven 3.6.3 | ||
mvnd 0.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
clean(){ | ||
|
||
git checkout orcid-activemq/pom.xml | ||
git checkout orcid-api-common/pom.xml | ||
git checkout orcid-api-web/pom.xml | ||
git checkout orcid-core/pom.xml | ||
git checkout orcid-internal-api/pom.xml | ||
git checkout orcid-message-listener/pom.xml | ||
git checkout orcid-persistence/pom.xml | ||
git checkout orcid-pub-web/pom.xml | ||
git checkout orcid-scheduler-web/pom.xml | ||
git checkout orcid-test/pom.xml | ||
git checkout orcid-utils/pom.xml | ||
git checkout orcid-web/pom.xml | ||
git checkout pom.xml | ||
|
||
} | ||
|
||
clean | ||
|