Skip to content

Update actions/checkout action to v4 #229

Update actions/checkout action to v4

Update actions/checkout action to v4 #229

Workflow file for this run

name: Test
# Test workflow runs unit tests and uploads a code coverage report.
# This workflow is run on every pull request and push to main.
# If no *.kt files are changed it will pass without running as these are required checks.
on:
pull_request:
paths:
- "**/*.kt"
- "*.gradle.kts"
- ".github/workflows/test.yml"
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
- name: Test
uses: gradle/[email protected]
with:
arguments: test
- uses: codecov/[email protected]
with:
directory: "build/reports"