Skip to content

fix: fix race condition where an event can be processed before a session gets extended #427

fix: fix race condition where an event can be processed before a session gets extended

fix: fix race condition where an event can be processed before a session gets extended #427

name: Test and Lint
on: [pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'gradle'
- name: Build
run: ./gradlew build
- name: Unit Test
run: ./gradlew testDebugUnitTest
- name: Lint
run: ./gradlew ktlintCheck
- name: Upload build results
if: always()
uses: actions/upload-artifact@v4
with:
# artifacts name
name: build-results
# copy reports of all packages
path: '**/build/reports/**'
# artifact will expire in 7 days.
retention-days: 7