Add content-length header for s3 stream content (#1143) #404
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
| name: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Deno | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| deno-version: [1.x, 2.x] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23.x | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@main | |
| with: | |
| deno-version: ${{ matrix.deno-version }} | |
| - name: Run Unit Tests | |
| run: go test ./server ./internal/* -v | |
| env: | |
| GO_TEST_S3_ENDPOINT: ${{ secrets.GO_TEST_S3_ENDPOINT }} | |
| GO_TEST_S3_REGION: ${{ secrets.GO_TEST_S3_REGION }} | |
| GO_TEST_S3_ACCESS_KEY_ID: ${{ secrets.GO_TEST_S3_ACCESS_KEY_ID }} | |
| GO_TEST_S3_SECRET_ACCESS_KEY: ${{ secrets.GO_TEST_S3_SECRET_ACCESS_KEY }} | |
| GO_TEST_S3_DIRNAME: test-deno-${{ matrix.deno-version }} | |
| - name: Run Integration Tests | |
| run: test/bootstrap.ts -q |