Skip to content

Update trino-main to 468 (#3765) #4130

Update trino-main to 468 (#3765)

Update trino-main to 468 (#3765) #4130

name: sbt-integration
on:
pull_request:
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.scalafmt.conf'
- '.github/workflows/sbt-integration.yml'
- 'project/build.properties'
- AIRSPEC_VERSION
push:
branches:
- main
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.scalafmt.conf'
- '.github/workflows/sbt-integration.yml'
- 'project/build.properties'
- AIRSPEC_VERSION
jobs:
sbt_airframe:
name: sbt-airframe
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch all tags so that sbt-dynver can find the previous release version
fetch-depth: 0
- run: git fetch --tags -f
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- 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