feat: add webrtc-direct listener in go-peer #130
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: Continuous Integration | |
on: | |
pull_request: | |
paths: | |
- 'go-peer/**' | |
- 'rust-peer/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
rust: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: '-Dwarnings' # Never tolerate warnings. | |
defaults: | |
run: | |
working-directory: ./rust-peer | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo fmt -- --check | |
- run: cargo clippy | |
- run: cargo test | |
go-check: | |
uses: libp2p/uci/.github/workflows/[email protected] | |
with: | |
go-version: '1.22.x' | |
go-test: | |
uses: libp2p/uci/.github/workflows/[email protected] | |
with: | |
go-versions: '["1.22.x"]' |