diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e1730ea..695f760 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run clippy run: cargo clippy --benches -- -D clippy::all @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run cargo fmt run: cargo fmt --check @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: run cargo doc run: RUSTDOCFLAGS="-D warnings" cargo doc @@ -53,7 +53,7 @@ jobs: if: github.ref == 'refs/heads/main' steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.MY_GITHUB_TOKEN }} @@ -61,6 +61,8 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: Run release-plz uses: MarcoIeni/release-plz-action@v0.5 + with: + project_manifest: ./crate/Cargo.toml env: # https://release-plz.ieni.dev/docs/github/trigger GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}