Create CODEOWNERS #28
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: XMTP Message History Server | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-lint-test: | |
# runs-on: warp-ubuntu-latest-x64-16x | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update rust toolchains | |
run: rustup update | |
- name: Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
. | |
- name: Build | |
run: cargo build | |
- name: Run clippy and fail on warnings | |
run: cargo clippy --all-features --all-targets --no-deps -- -Dwarnings | |
- name: Run format check | |
run: cargo fmt --check | |
- name: Test | |
run: cargo test |