socks5ws/.github/workflows/rust.yml

33 lines
566 B
YAML

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt --check
- name: Build
run: cargo build
- name: Build release
run: cargo build --release
- uses: actions/upload-artifact@v3
with:
name: socks5ws
path: target/release/socks5ws.exe
if-no-files-found: error