diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9eee633..8c62053 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,13 @@ name: Publish on: - create: + push: tags: - "v*" env: CARGO_INCREMENTAL: 0 + CARGO_TERM_COLOR: "always" RUST_LOG: "off" jobs: @@ -17,7 +18,6 @@ jobs: id-token: write steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh @@ -43,7 +43,6 @@ jobs: packages: write steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh @@ -69,9 +68,6 @@ jobs: contents: write steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - with: - targets: wasm32-unknown-unknown - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6f2b51..141e125 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt - - run: cargo fmt -- --check cargo-clippy: @@ -25,10 +21,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - with: - components: clippy - - run: cargo clippy cargo-test: @@ -36,8 +28,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - run: cargo check - run: cargo test @@ -46,7 +36,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh