Skip to content

Commit

Permalink
fix: missing .tool-versions file needed for manual builds and basic p…
Browse files Browse the repository at this point in the history
…re-commit support
  • Loading branch information
gilesw committed Apr 18, 2023
1 parent 6b453a8 commit 9bd09aa
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .pre-commit-config.yaml
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/'
4 changes: 4 additions & 0 deletions .tool-versions
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
21 changes: 21 additions & 0 deletions reset-poms.sh
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

0 comments on commit 9bd09aa

Please sign in to comment.