Skip to content

Update airframe-log to 23.9.1 (#504) #337

Update airframe-log to 23.9.1 (#504)

Update airframe-log to 23.9.1 (#504) #337

Workflow file for this run

name: CI
on:
pull_request:
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.github/workflows/*.yml'
- '**.so'
- '**.dll'
- 'src/main/resources/**'
- 'project/build.properties'
push:
branches:
- master
- main
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.github/workflows/*.yml'
- 'src/main/resources/org/xerial/snappy/**'
- 'project/build.properties'
jobs:
code_format:
name: code format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: scalafmt test
run: ./sbt scalafmtCheckAll
test:
name: test jdk11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
- uses: actions/cache@v3
with:
path: ~/.cache
key: ${{ runner.os }}-jdk11-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-jdk11-
- name: Test
run: ./sbt test
test_jdk8:
name: test jdk8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
- uses: actions/cache@v3
with:
path: ~/.cache
key: ${{ runner.os }}-jdk8-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-jdk8-
- name: Test
run: ./sbt test
test_jdk17:
name: test jdk17
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: olafurpg/setup-scala@v14
with:
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.cache
key: ${{ runner.os }}-jdk17-${{ hashFiles('**/*.sbt') }}
restore-keys: ${{ runner.os }}-jdk17-
- name: Test
run: ./sbt test