diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ceb6310..e8f461a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: - "*" permissions: - contents: read + contents: write jobs: build: @@ -17,17 +17,10 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable - with: - components: clippy - targets: wasm32-unknown-unknown - - name: Install wasm-pack - run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - uses: taiki-e/install-action@nextest - uses: Swatinem/rust-cache@v2 - name: Run tests (Native) - run: cargo nextest run --verbose --release - - name: Run tests (WASM) - run: wasm-pack test --release --headless --chrome + run: cargo nextest run --release - name: Upload test results uses: softprops/action-gh-release@v1 with: