Skip to content

feat: Support throughput throttling #16

feat: Support throughput throttling

feat: Support throughput throttling #16

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
env:
RUSTFLAGS: -D warnings
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust Toolchain
run: rustup toolchain install stable --profile minimal --component rustfmt clippy --no-self-update
- name: Run rustfmt
run: cargo fmt --check
- name: Run Clippy
run: cargo clippy --no-deps -- -D warnings
docker:
name: Docker
runs-on: ubuntu-latest
if: ${{ (github.ref_name == 'master') }}
env:
DOCKER_IMAGE: ghcr.io/getsentry/spangen
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Authenticate with GHCR
run: docker login ghcr.io -u '${{ github.actor }}' -p '${{ secrets.GITHUB_TOKEN }}'
- name: Build and Push Docker Image
run: docker build --push --tag $DOCKER_IMAGE:latest .