Skip to content

feat: Enforce exact byte reading from Content-Length header for BoxFile representation #701

feat: Enforce exact byte reading from Content-Length header for BoxFile representation

feat: Enforce exact byte reading from Content-Length header for BoxFile representation #701

Workflow file for this run

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