Skip to content

don't panic on notify error #56

don't panic on notify error

don't panic on notify error #56

Workflow file for this run

name: Build
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- name: Set git to checkout as is, commit LF
run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- name: Cargo Test
run: cargo test --workspace -- --nocapture
- name: Cargo Format Check
run: cargo fmt -- --check
- name: Cargo Clippy Check
run: cargo clippy --all-features --workspace -- -D warnings
- name: Cargo Sort Check
run: cargo install cargo-sort --debug && cargo-sort --check --workspace
release:
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
runs-on: windows-latest
needs: [build]
steps:
- name: Set git to checkout as is, commit LF
run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- name: Compile Release
run: cargo build --release
- name: Github Release
uses: softprops/action-gh-release@v1
with:
files: ./target/release/wsl2-dns-agent.exe