Fix #114: Add rotation to outputs #165
Workflow file for this run
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: Gradle CI Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
permissions: | |
security-events: write # for CodeQL | |
contents: write # for Gradle dependency graph submission | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: java | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
dependency-graph: generate-and-submit | |
cache-disabled: true # play nice with CodeQL | |
- name: Build with Gradle | |
run: | | |
cd $GITHUB_WORKSPACE | |
./gradlew build jacocoTestReport publishToMavenLocal | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |