diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2979747..230564c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: uses: arduino/setup-protoc@v3 with: version: "24.x" + repo-token: ${{ github.token }} - name: Check all targets at MSRV run: cargo check --locked --all-targets --all-features @@ -58,6 +59,7 @@ jobs: uses: arduino/setup-protoc@v3 with: version: "24.x" + repo-token: ${{ github.token }} - name: Test run: cargo test --locked --all-features - name: Check all targets diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cf770a..2a4e023 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,7 @@ jobs: - uses: arduino/setup-protoc@v3 with: version: "24.x" + repo-token: ${{ github.token }} - name: Verify tag matches package version run: | package_version="$(cargo metadata --locked --no-deps --format-version 1 | python3 -c 'import json,sys; data=json.load(sys.stdin); print(next(p["version"] for p in data["packages"] if p["name"] == "unirust-rs"))')"