Skip to content

added release workflow #3

added release workflow

added release workflow #3

name: Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
#- name: Check for warnings
# run: cargo clippy --all-targets --all-features -- -D warnings
- name: Doc tests
run: cargo test --doc