fix: getState mandatory on EventProvider #1855
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 | |
services: | |
flagd: | |
image: ghcr.io/open-feature/flagd-testbed:latest | |
ports: | |
- 8013:8013 | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@1a480074ee22350a5ad77b24ea42296036c07fdf | |
with: | |
languages: java | |
- name: Cache local Maven repository | |
uses: actions/cache@67b839edb68371cc5014f6cea11c9aa77238de78 | |
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 verify -P e2e-test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d | |
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@1a480074ee22350a5ad77b24ea42296036c07fdf |