diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f16e280..dd8b135 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,10 +76,5 @@ jobs: sudo apt-get install -y --no-install-recommends \ --allow-unauthenticated musl-tools - - name: Rust cache - uses: Swatinem/rust-cache@v2 - with: - key: ${{ matrix.os }}-${{ matrix.target }} - - name: Build run: cargo build --release --locked --target ${{ matrix.target }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec6ccd2..0146766 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # it is a must! fetch-depth: 0 @@ -32,7 +32,7 @@ jobs: git checkout v${{ env.RELEASE_VERSION }} - name: Generate a changelog - uses: orhun/git-cliff-action@v2 + uses: orhun/git-cliff-action@v3 id: git-cliff with: config: configs/cliff.toml @@ -44,7 +44,7 @@ jobs: run: cat "${{ steps.git-cliff.outputs.changelog }}" - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: token: ${{ secrets.GH_TOKEN }} name: "v${{ env.RELEASE_VERSION }}" @@ -68,7 +68,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set the release version shell: bash @@ -83,8 +83,7 @@ jobs: sudo apt-get install -y --no-install-recommends \ --allow-unauthenticated musl-tools - - name: Install Rust - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: target: ${{ matrix.target }} @@ -113,7 +112,7 @@ jobs: fi - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: token: ${{ secrets.GH_TOKEN }} name: "v${{ env.RELEASE_VERSION }}"