diff --git a/.github/workflows/add-to-platform-project.yml b/.github/workflows/add-to-platform-project.yml new file mode 100644 index 0000000..09542e8 --- /dev/null +++ b/.github/workflows/add-to-platform-project.yml @@ -0,0 +1,16 @@ +name: Add new issues to Platform project + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.4.0 + with: + project-url: https://github.com/orgs/alphora/projects/3 + github-token: ${{ secrets.ADD_TO_PLATFORM_PAT }} \ No newline at end of file diff --git a/.github/workflows/check-pr.yaml b/.github/workflows/check-pr.yaml new file mode 100644 index 0000000..2f6514a --- /dev/null +++ b/.github/workflows/check-pr.yaml @@ -0,0 +1,14 @@ +name: Check PR +on: pull_request + +jobs: + maven: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 11 + - name: Run Checks + run: mvn --batch-mode --no-transfer-progress --update-snapshots verify \ No newline at end of file diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml new file mode 100644 index 0000000..05bc876 --- /dev/null +++ b/.github/workflows/publish-snapshot.yml @@ -0,0 +1,23 @@ +name: Publish Snapshot +on: + push: + branches: + - master + +jobs: + maven: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 11 + server-id: ossrh + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + - name: Publish snapshot + run: mvn --batch-mode -no-transfer-progress --update-snapshots deploy + env: + MAVEN_USERNAME: ${{ vars.OSSRH_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} \ No newline at end of file diff --git a/.travis.settings.xml b/.travis.settings.xml deleted file mode 100644 index a17da14..0000000 --- a/.travis.settings.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - ossrh - ${env.OSSRH_USERNAME} - ${env.OSSRH_PASSWORD} - - - - - ossrh - - true - - - ${env.GPG_EXECUTABLE} - ${env.GPG_PASSPHRASE} - - - - \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7c1aa8d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,39 +0,0 @@ -language: java -jdk: openjdk11 -os: linux -dist: xenial -cache: - timeout: 180 - directories: - - "$HOME/.m2/repository" -install: -- ./scripts/install.sh -script: -- ./scripts/test.sh -before_cache: -- rm -rf $HOME/.m2/repository/org/opencds/cqf/cql -after_success: -- ./scripts/deploy.sh -deploy: - provider: releases - api_key: - secure: O6kK3bjPokEmIbigP+smS/ORYthxU5VxLLBxkx9yHJ9fooHolsFhlG/Qvr22KsfaXvvxgMV4f5VAj5X4zHxX6YZhGN/o+dWCfAGpuSUwohgxIKBfJl7Vwj/R29auxnSqRQvs6mokuMcXH+RbbddLydaqsVcClNc7DKRPFiGwCJly29zoSS73pYA5JAQXxS2dG+uwjeDS4iNlrQikJE7zXwqH48wLcwhcHqE2lWELYauMAAzWNPuP/et2ZbsMH04VEke4CR/nH0gc8tZmOJ5M1nlnyEWl40OGt+fuRmiDWcM2q1nlcsRPO1aRwSNOMTelUGlnCeBJ6eP1v4mur+L2r+G4GPZrbs6bjlcZc6UgHzLPiwR5wUUekmKUP3CfZJQijjlILLPfyTDEMYtx7NW+Odo2tqkt+MINp0d+aavMjeeNkh6UQSBuX2L5O1NIwI87tNTLGhd9NIaRgfTULBO3fWjWA6tgUXHtplgLkRhist6Zh26vjf0tCTzgPS5CMxtjwUPRl03LVNNyDYvnNQ1XTcYAAkmH/841oNmQovC/wqNrNzDiKNDdrAubrRtGZI4P91WRhEjaJOSK7TVwpWq3JqLisMimQarCyalTUZzPBudwWsjb6gZBKs3qzrRpGtR8QXASV73Cok0W4fPKgL5Hg4/HWINMkjfOICMNCSK6fHc= - file_glob: true - file: "target/*.jar" - skip_cleanup: true - name: CQL Language Server $TRAVIS_TAG - overwrite: true - target_commitish: $TRAVIS_COMMIT - on: - tags: true -notifications: - slack: - - rooms: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gErvjF+aRTjIlj0s4VBz1K8X7+K46Ueb/q7+RJ/s/xU1SBbRhkFQsXMIJPgV2ttNfUNdH2LRnnn4OyQu/0FApGy6UvHmgoO3p0lHlbSoD7viEtf1LTmVYaNcqEkC8e0OQlOtCLX7Diyk8tBMqm6yFVbw8TNF3JzDvyhsfdnQsP2Sd44GBYa38M4Xoyr0TvJd3JaGTJ67VgdUef03E9InJmAgRHQ1kCZ+helxUnL4b5Pq9cspDvRxN7lpXOojr990TJCKXbP52nigRqT5Lt13CDtbx4v253cwpZ3UjI6mvrgvRgNAf+X6Kxop2bcSUUG/ubY= - on_success: never - on_failure: always -