Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.18.0 in /language #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow runs mvn package on the repository, and uploads the native image as artifact | |
| name: Build Package and upload calnative | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the master branch | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| # This workflow contains a single job called "build" | |
| build: | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Cache local Maven repository | |
| uses: actions/cache@v2 | |
| id: mavencache | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Get GraalVM Version from pom.xml | |
| id: getgraalversion | |
| run: | | |
| echo "::set-output name=graalversion::$(python3 -c 'from xml.etree import ElementTree; print(ElementTree.parse("pom.xml").find(".//xmlns:graalvm.version", {"xmlns" : "http://maven.apache.org/POM/4.0.0"}).text)')" | |
| - name: Setup Graalvm | |
| id: setup-graalvm | |
| uses: DeLaGuardo/setup-graalvm@master | |
| with: | |
| # GraalVM version, no pattern syntax available atm | |
| graalvm: ${{ steps.getgraalversion.outputs.graalversion }} | |
| # Java version, optional, defaults to 'java8'. Available options are 'java8' and 'java11'. | |
| java: 'java11' | |
| # Architecture flag, optional, defaults to 'amd64'. Available options are 'amd64' and 'aarch64'. Later is available only for linux runners. | |
| arch: 'amd64' | |
| - name: Install native-image component | |
| run: | | |
| gu install native-image | |
| - name: Run build | |
| run: mvn --batch-mode --update-snapshots verify | |
| - name: Upload calnative | |
| uses: actions/[email protected] | |
| with: | |
| # Artifact name | |
| name: calnative | |
| # A file, directory or wildcard pattern that describes what to upload | |
| path: native/calnative | |
| # The desired behavior if no files are found using the provided path. | |
| if-no-files-found: error | |
| - name: Setup .NET Core # Required to execute ReportGenerator | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 5.0.301 | |
| - name: Get List of all src subdirectories for Report Generation | |
| id: getsrcdirs | |
| run: | | |
| echo "::set-output name=srcdirs::$(find language -type d -print | tr '\n' ';')" | |
| - name: ReportGenerator | |
| uses: danielpalme/[email protected] | |
| with: | |
| reports: 'language/target/site/jacoco/jacoco.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported. | |
| targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved. | |
| reporttypes: 'lcov' # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, Xml, XmlSummary | |
| sourcedirs: ${{ steps.getsrcdirs.outputs.srcdirs }} # Optional directories which contain the corresponding source code (separated by semicolon). The source directories are used if coverage report contains classes without path information. | |
| historydir: '' # Optional directory for storing persistent coverage information. Can be used in future reports to show coverage evolution. | |
| plugins: '' # Optional plugin files for custom reports or custom history storage (separated by semicolon). | |
| assemblyfilters: '+*' # Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed. | |
| classfilters: '+*' # Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed. | |
| filefilters: '+*' # Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed. | |
| verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off | |
| title: '' # Optional title. | |
| tag: '${{ github.run_number }}_${{ github.run_id }}' # Optional tag or build version. | |
| customSettings: '' # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings. | |
| toolpath: 'reportgeneratortool' # Default directory for installing the dotnet tool. | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@master | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| path-to-lcov: 'coveragereport/lcov.info' |