openapi (internal): Do not use runtime-reflection in UnionCodec to fix flaky tests #2778
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: sbt-integration | |
on: | |
pull_request: | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- '.scalafmt.conf' | |
- '.github/workflows/sbt-integration.yml' | |
- 'project/build.properties' | |
push: | |
branches: | |
- master | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- '.scalafmt.conf' | |
- '.github/workflows/sbt-integration.yml' | |
- 'project/build.properties' | |
jobs: | |
sbt_airframe: | |
name: sbt-airframe | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 10000 | |
# Fetch all tags so that sbt-dynver can find the previous release version | |
- run: git fetch --tags -f | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Get Airframe version | |
run: echo "AIRFRAME_VERSION=$(./scripts/dynver.sh)" >> $GITHUB_ENV | |
- name: Check Airframe version | |
run: echo ${AIRFRAME_VERSION} | |
- name: Create a snapshot of Airframe | |
run: ./sbt publishSbtDevLocal | |
- name: Run sbt-airframe plugin tests | |
run: AIRFRAME_VERSION=${AIRFRAME_VERSION} ./sbt scripted | |
working-directory: ./sbt-airframe |