Obey clippy #17
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish crates | ||
|
Check failure on line 1 in .github/workflows/publish-crates.yaml
|
||
| on: | ||
| release: | ||
| types: [published] | ||
| jobs: | ||
| publish-simd-json-derive-int: | ||
| name: Publish simd-json-derive-int | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: actions-rs/toolchain@v1 | ||
| with: | ||
| profile: minimal | ||
| toolchain: stable | ||
| - name: ensure we are not in detached-head state | ||
| run: git switch -c v${{ gihub.ref_name }} | ||
| - name: Publish simd-json-derive-int to crates.io | ||
| uses: katyo/publish-crates@v1 | ||
| with: | ||
| path: './simd-json-derive-int' | ||
| registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
| publish-simd-json-derive: | ||
| name: Publish simd-json-derive | ||
| needs: publish-simd-json-derive-int | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: actions-rs/toolchain@v1 | ||
| with: | ||
| profile: minimal | ||
| toolchain: stable | ||
| - name: ensure we are not in detached-head state | ||
| run: git switch -c v${{ gihub.ref_name }} | ||
| - name: Publish simd-json-derive to crates.io | ||
| uses: katyo/publish-crates@v1 | ||
| with: | ||
| path: './Cargo.toml' | ||
| registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||