chore(deps): bump serde_json from 1.0.133 to 1.0.134 (#154) #454
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: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Ensure 'cargo fmt' | |
run: cargo fmt -- --check | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Run example - simple_speedtest | |
run: cargo run --example simple_speedtest | |
- name: Run example - download_test | |
run: cargo run --example download_test | |
- name: Run example - latency_test | |
run: cargo run --example latency_test | |
- name: Run CLI | |
run: cargo run | |
docker-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
push: false | |
tags: | | |
cybuerg/cfspeedtest:${{ github.sha }} |