Moved actions

This commit is contained in:
Justine Pelletreau
2023-07-17 16:39:11 +02:00
parent 02c7379972
commit d81399fb53
2 changed files with 8 additions and 58 deletions

View File

@ -27,24 +27,17 @@ jobs:
with:
command: check
- name: Install nightly toolchain with clippy available
uses: https://github.com/actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- name: Run cargo clippy
uses: https://github.com/actions-rs/cargo@v1
continue-on-error: true # WARNING: only for this example, remove it!
with:
command: clippy
args: -- -D warnings
- name: Test
run: cargo test
- name: Build
run: cargo build --release
- name: Configure cargo
run: echo ${{ secrets.API_TOKEN_CONFIG }} >> ~/.cargo/credentials.toml
run: echo ${{ secrets.CARGO_CONFIG }} >> ~/.cargo/config.toml
- name: Publish
run: cargo publish