Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra: setup.sh #36

Merged
merged 2 commits into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
distribution: 'adopt'
java-version: '21'

# - name: Grant execute permission for setup script
# run: chmod +x setup.sh
#
# - name: Run setup script
# run: ./setup.sh
- name: Run setup script
run: ./setup.sh

- name: Build with Gradle
run: cd extractor && ./gradlew clean build
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mkdir -p .ci-temp

# Clone the Checkstyle repository if it hasn't been cloned already
if [ ! -d ".ci-temp/checkstyle" ]; then
git clone https://github.com/checkstyle/checkstyle.git .ci-temp/checkstyle
git clone --depth 1 --branch master https://github.com/checkstyle/checkstyle.git .ci-temp/checkstyle
else
echo "Checkstyle repository already cloned."
fi
Loading