feat: add method to set provider and block during init #1966
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: PR | |
on: | |
pull_request: | |
branches: [ master, main ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@7739b9ba2efcda9dde65ad1e3c2dbe65b41dfba7 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@5b86b67f5bb794ee4de9464f70b700b9445b03a8 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@e4262713b504983e61c7728f5452be240d9385a7 | |
with: | |
languages: java | |
- name: Cache local Maven repository | |
uses: actions/cache@f7ebb81a3f195b4fb88dab7c14e2f7aff52045aa | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Verify with Maven | |
run: mvn --batch-mode --update-snapshots --activate-profiles e2e verify | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@e1dd05cde2ed37d100f658b34ea423728ba1812e | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
flags: unittests # optional | |
name: coverage # optional | |
fail_ci_if_error: true # optional (default = false) | |
verbose: true # optional (default = false) | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@e4262713b504983e61c7728f5452be240d9385a7 |