Skip to content

Commit

Permalink
Adds @deprecated and @experimental annotations (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell authored Nov 30, 2022
1 parent 83c9f9c commit 8ccc052
Show file tree
Hide file tree
Showing 17 changed files with 1,493 additions and 156 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
name: "Build and run tests"
on: [push, pull_request]
name: "Build and Run Tests"
on:
push:
branches: [main]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 9, 10, 11 ]
java: [8, 11, 17]
steps:
- uses: actions/checkout@v2
- name: Use Java ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
- name: Build and test
cache: gradle
- name: Build and Test
run: ./gradlew build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ To obtain the `pig` executable:
- Execute `./gradlew assemble`

After the build completes, the `pig` executable and dependencies will be located
in `pig/build/distributions/pig/pig-x.y.z.[tar.gz|zip]`.
in `./pig/build/install/pig/bin/pig`.

**Finally, make sure that the version of the `partiql-ir-generator-runtime` library that you are using corresponds to
the version of the executable.**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.partiql.pig.runtime

@RequiresOptIn(
message = "This DomainNode is marked as experimental",
level = RequiresOptIn.Level.WARNING
)
annotation class Experimental
Loading

0 comments on commit 8ccc052

Please sign in to comment.