Skip to content

Commit

Permalink
ci: update action dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Jun 18, 2024
1 parent 9de927a commit bb54cf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# it is a must!
fetch-depth: 0
Expand All @@ -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
Expand All @@ -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 }}"
Expand All @@ -68,7 +68,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set the release version
shell: bash
Expand All @@ -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 }}

Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit bb54cf5

Please sign in to comment.