From 280dda4bd0f9ac872ca033391cf6095e969e0d75 Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Sat, 22 Jun 2024 11:53:37 +0530 Subject: [PATCH] Update github actions and changelog --- .github/workflows/rust.yml | 37 ++++++++++++++++--------------------- CHANGELOG.md | 5 +++++ 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 04226a9..8ee3d98 100755 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,18 +27,16 @@ jobs: - windows-latest toolchain: - - 1.67.0 + - 1.79.0 - stable - nightly steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} - profile: minimal - override: true - components: rustfmt, clippy + components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 with: key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ matrix.toolchain }} @@ -56,15 +54,13 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.67.0 - target: x86_64-unknown-linux-musl - profile: minimal - override: true + toolchain: ${{ matrix.toolchain }} + components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 with: - key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-1.67.0-binary + key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-1.79.0-binary - name: Install musl tools run: sudo apt-get install -y musl-tools - name: Build @@ -80,7 +76,7 @@ jobs: name: binaries path: artifacts/* - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: artifacts/amber-x86_64-unknown-linux-musl @@ -91,14 +87,13 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.67.0 - profile: minimal - override: true + toolchain: ${{ matrix.toolchain }} + components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 with: - key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-1.67.0-binary + key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-1.79.0-binary - name: Build run: cargo build --release - name: Rename @@ -110,7 +105,7 @@ jobs: name: binaries path: artifacts/* - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: artifacts/amber-x86_64-apple-darwin @@ -123,12 +118,12 @@ jobs: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.67.0 + toolchain: 1.79.0 profile: minimal override: true - uses: Swatinem/rust-cache@v2 with: - key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-1.67.0-binary + key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-1.79.0-binary - name: Build run: cargo build --release - name: Rename @@ -140,7 +135,7 @@ jobs: name: binaries path: artifacts/* - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: artifacts/amber-x86_64-pc-windows-gnu.exe diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a743a2..9e6cf2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change log for Amber +## 0.1.6 + +* Upgrade rust toolchain to 1.79.0 +* Upgrade dependencies. + ## 0.1.5 (2022-12-23) * Update rust toolchain to 1.67.0