This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
Implement proxy v2 architecture, in Rust #5
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, pull_request] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# Keep version in sync with rust-toolchain.toml | |
container: rust:1.74.0 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
rustup component add rustfmt | |
rustup component add clippy | |
apt-get update && apt-get install python3-poetry --yes | |
poetry install --no-ansi | |
- name: Lint and test code | |
run: | | |
make rust-lint | |
make rust-test | |
make test |