Skip to content

fix: listeners are now properly spawnable in a tokio::task::spawn(f) #66

fix: listeners are now properly spawnable in a tokio::task::spawn(f)

fix: listeners are now properly spawnable in a tokio::task::spawn(f) #66

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
get-next-version:
uses: semantic-release-action/next-release-version/.github/workflows/next-release-version.yml@v4
build:
name: Build
runs-on: ubuntu-latest
needs:
- get-next-version
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
# checkout as wfcd-bot-boi
token: ${{ secrets.GH_TOKEN }}
- name: Install semantic-release-cargo
if: needs.get-next-version.outputs.new-release-published == 'true'
uses: EricCrosson/install-github-release-binary@v2
with:
targets: semantic-release-cargo/semantic-release-cargo@v2
- name: Prepare semantic-release for Rust
if: needs.get-next-version.outputs.new-release-published == 'true'
run: semantic-release-cargo prepare ${{ needs.get-next-version.outputs.new-release-version }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Test Worldstate with all features
run: cargo test --all-features
- name: Cargo build
run: cargo build --release
- name: Semantic Release
id: release
uses: cycjimmy/[email protected]
env:
# push as wfcd-bot-boi
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
semantic_version: 18
extra_plugins: |
@semantic-release/git
@semantic-release/changelog
@semantic-release-cargo/semantic-release-cargo