Skip to content

Parallel range downloads for S3 to match aws-sdk-s3 throughput #21

Parallel range downloads for S3 to match aws-sdk-s3 throughput

Parallel range downloads for S3 to match aws-sdk-s3 throughput #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Activate Hermit
run: echo "${GITHUB_WORKSPACE}/bin" >> "$GITHUB_PATH"
- name: Install system dependencies
run: sudo apt-get install -y zstd
- name: Test
run: go test -run ^Test ./...
- name: Build
run: go build ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Activate Hermit
run: echo "${GITHUB_WORKSPACE}/bin" >> "$GITHUB_PATH"
- name: Lint
run: golangci-lint run
release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [test, lint]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Activate Hermit
run: echo "${GITHUB_WORKSPACE}/bin" >> "$GITHUB_PATH"
- name: Release
run: goreleaser release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}