Skip to content

v2.4.0 Release

v2.4.0 Release #303

Workflow file for this run

name: Pull Request
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checks:
runs-on: ubuntu-latest
name: Lint, Build, Test, and Upload Coverage
steps:
- uses: actions/checkout@v3
- name: Setup Java 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'corretto'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Lint project
run: ./gradlew lintKotlin
- name: Build project
run: ./gradlew clean build
- name: Run tests
run: ./gradlew test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}