Skip to content

update ci

update ci #60

Workflow file for this run

name: build and test
on: [push]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
toolchain: [stable, beta, nightly]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: Build Debug
run: cargo build --verbose
- name: Build Release
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose
- name: Artifacts
uses: actions/upload-artifact@v2
with:
name: target-${{ matrix.os }}-${{ matrix.toolchain }}
path: target/release/proxy*