diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae056991..3c6c796f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build/Test/Release +name: CI on: push: @@ -14,6 +14,8 @@ concurrency: env: PACKAGE: "tuic-server" PACKAGE2: "tuic-client" + RUST_TOOLCHAIN: "nightly-2024-09-21" + jobs: compile: name: ${{ matrix.release-name || matrix.target || 'Unknown' }} @@ -147,7 +149,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: ${{ matrix.toolchain || 'nightly' }} + toolchain: ${{ matrix.toolchain || env.RUST_TOOLCHAIN }} target: ${{ matrix.target }} components: ${{ matrix.components || 'rustfmt, clippy' }} @@ -244,7 +246,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Clean git tag - if: startsWith(github.ref, 'refs/tags/v*') + if: startsWith(github.ref, 'refs/tags/v') run: | # Delete latest tag locally (for git-cliff) git tag -d latest || true diff --git a/Cargo.lock b/Cargo.lock index 7fc29bca..f5c06a5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1687,7 +1687,7 @@ dependencies = [ [[package]] name = "tuic" -version = "1.3.0" +version = "1.3.1" dependencies = [ "bytes", "futures-util", @@ -1700,7 +1700,7 @@ dependencies = [ [[package]] name = "tuic-client" -version = "1.3.0" +version = "1.3.1" dependencies = [ "anyhow", "bytes", @@ -1730,7 +1730,7 @@ dependencies = [ [[package]] name = "tuic-quinn" -version = "1.3.0" +version = "1.3.1" dependencies = [ "bytes", "futures-util", @@ -1742,7 +1742,7 @@ dependencies = [ [[package]] name = "tuic-server" -version = "1.3.0" +version = "1.3.1" dependencies = [ "arc-swap", "axum",