Skip to content

Fix snake_case -> camelCase #69

Fix snake_case -> camelCase

Fix snake_case -> camelCase #69

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
tags:
- '*'
pull_request:
branches: [ "main" ]
create:
tags:
- '*'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format check
run: cargo fmt -- --check
- name: Build
run: cargo build --verbose
- name: Run tests
run: |
cargo test --verbose
cargo test --verbose --features client
publish:
needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Crates.io
uses: actions-rs/cargo@v1
with:
command: login
args: ${{ secrets.CRATES_IO_TOKEN }}
- name: Publish to Crates.io
uses: actions-rs/cargo@v1
with:
command: publish
args: --package dap