feat: Enforce exact byte reading from Content-Length
header for BoxFile
representation
#690
Workflow file for this run
This file contains 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
name: build-main | |
on: | |
pull_request: | |
types: [ opened, synchronize ] | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
distribution: [ 'zulu', 'temurin' ] | |
java: [ '8', '11', '17' ] | |
name: Java ${{ matrix.java }} (${{ matrix.distribution }}) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
cache: 'gradle' | |
- name: Build and test | |
run: ./gradlew check --stacktrace | |
- name: Coverage | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./gradlew jacocoTestReport coverallsJacoco |