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

Rename Algorithms and Data Structures Project Folder #11

Merged
merged 1 commit into from
Jun 28, 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
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ on:
branches:
- main
paths:
- 'algorithms-data-structs/**'
- '!algorithms-data-structs/**/*.md'
- '!algorithms-data-structs/.gitignore'
- '!algorithms-data-structs/LICENSE'
- 'algorithms-and-data-structures/**'
- '!algorithms-and-data-structures/**/*.md'
- '!algorithms-and-data-structures/.gitignore'
- '!algorithms-and-data-structures/LICENSE'
pull_request:
branches:
- main
paths:
- 'algorithms-data-structs/**'
- '!algorithms-data-structs/**/*.md'
- '!algorithms-data-structs/.gitignore'
- '!algorithms-data-structs/LICENSE'
- 'algorithms-and-data-structures/**'
- '!algorithms-and-data-structures/**/*.md'
- '!algorithms-and-data-structures/.gitignore'
- '!algorithms-and-data-structures/LICENSE'

jobs:
build:
Expand All @@ -31,22 +31,22 @@ jobs:
java-version: '17'
distribution: 'adopt'

- name: Grant execute permission for gradle in algorithms-data-structs
- name: Grant execute permission for gradle in algorithms-and-data-structures
run: chmod +x gradlew
working-directory: ./algorithms-data-structs
working-directory: ./algorithms-and-data-structures

- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
algorithms-data-structs/.gradle/caches
algorithms-data-structs/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('algorithms-data-structs/**/gradle*.kts', 'algorithms-data-structs/**/gradle-wrapper.properties') }}
algorithms-and-data-structures/.gradle/caches
algorithms-and-data-structures/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('algorithms-and-data-structures/**/gradle*.kts', 'algorithms-and-data-structures/**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle in algorithms-data-structs
- name: Build with Gradle in algorithms-and-data-structures
run: ./gradlew build
working-directory: ./algorithms-data-structs
working-directory: ./algorithms-and-data-structures

test:
needs: build
Expand All @@ -60,19 +60,19 @@ jobs:
java-version: '17'
distribution: 'adopt'

- name: Grant execute permission for gradle in algorithms-data-structs
- name: Grant execute permission for gradle in algorithms-and-data-structures
run: chmod +x gradlew
working-directory: ./algorithms-data-structs
working-directory: ./algorithms-and-data-structures

- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
algorithms-data-structs/.gradle/caches
algorithms-data-structs/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('algorithms-data-structs/**/gradle*.kts', 'algorithms-data-structs/**/gradle-wrapper.properties') }}
algorithms-and-data-structures/.gradle/caches
algorithms-and-data-structures/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('algorithms-and-data-structures/**/gradle*.kts', 'algorithms-and-data-structures/**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Test with Gradle in algorithms-data-structs
- name: Test with Gradle in algorithms-and-data-structures
run: ./gradlew test
working-directory: ./algorithms-data-structs
working-directory: ./algorithms-and-data-structures
Loading