Update gradle/gradle-build-action action to v2.4.2 [SECURITY] (#57) #184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- 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" |