all-repos: update actions/upload-artifact to v4 #176
Workflow file for this run
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: Rust | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
jobs: | |
lint: | |
name: "Linting" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout code | |
- run: cargo check | |
- run: cargo fmt --check | |
test: | |
name: "Tests" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout code | |
- name: Run Zookeeper and Kafka | |
run: sh scripts/run-kafka.sh | |
- name: Run tests | |
run: cargo test |