name: CI on: [push, pull_request] jobs: Test: runs-on: cimaster-latest services: warpproxy: image: thetadev256/warpproxy env: WARP_DEVICE_ID: ${{ secrets.WARP_DEVICE_ID }} WARP_ACCESS_TOKEN: ${{ secrets.WARP_ACCESS_TOKEN }} WARP_LICENSE_KEY: ${{ secrets.WARP_LICENSE_KEY }} WARP_PRIVATE_KEY: ${{ secrets.WARP_PRIVATE_KEY }} steps: - name: ๐Ÿ“ฆ Checkout repository uses: actions/checkout@v3 - name: ๐Ÿฆ€ Setup Rust cache uses: https://github.com/Swatinem/rust-cache@v2 with: cache-on-failure: "true" - name: ๐Ÿ“Ž Clippy run: cargo clippy --all -- -D warnings - name: ๐Ÿงช Test run: cargo test --workspace env: ALL_PROXY: "http://warpproxy:8124"