token from str

This commit is contained in:
thesimplekid
2023-04-23 18:38:06 -04:00
parent 81704929b7
commit 88eb0b3322
9 changed files with 199 additions and 6 deletions

24
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Crate
uses: actions/checkout@v3
- name: Set Toolchain
# https://github.com/dtolnay/rust-toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: |
rustup update
cargo test