Skip to content

Bump github/codeql-action from 1 to 3 #44

Bump github/codeql-action from 1 to 3

Bump github/codeql-action from 1 to 3 #44

Workflow file for this run

name: Main Build Script
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build and analyze
run: ./gradlew build jacocoTestReport
- name: Check code coverage with Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}