Skip to content

Merge pull request #5 from ctrl-hub/fix/timeband-endpoint-url #9

Merge pull request #5 from ctrl-hub/fix/timeband-endpoint-url

Merge pull request #5 from ctrl-hub/fix/timeband-endpoint-url #9

Workflow file for this run

# .github/workflows/ci.yml
name: CI
on:
push:
branches: [ main ]
paths: ['**/*.kt', '**/*.kts', '.github/workflows/ci.yml']
pull_request:
branches: [ main ]
jobs:
build:
if: github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: ubuntu-latest
name: "Run Tests"
env:
GH_USERNAME: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 23
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 23
- name: Cache Gradle dependencies
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Test
run: ./gradlew test