Skip to content

Merge pull request #105 from nvervelle/Replace-convention-by-extension #189

Merge pull request #105 from nvervelle/Replace-convention-by-extension

Merge pull request #105 from nvervelle/Replace-convention-by-extension #189

Workflow file for this run

name: build
on: [push]
jobs:
build:
name: Build plugin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '11.x.x'
- name: Download opa
run: wget -O opa https://openpolicyagent.org/downloads/latest/opa_linux_amd64
- name: Install opa
run: sudo mv opa /usr/local/bin/ && sudo chmod +x /usr/local/bin/opa
- name: Build plugin
run: ./gradlew build jacocoTestReport
- uses: actions/upload-artifact@v1
with:
name: opa-gradle-plugin
path: build/libs
- uses: codecov/codecov-action@v3.1.4
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./build/reports/jacoco/test/jacocoTestReport.xml
name: opa-gradle-plugin