Skip to content

Commit

Permalink
Update github actions and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Jun 22, 2024
1 parent ccfdae9 commit 280dda4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
37 changes: 16 additions & 21 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 280dda4

Please sign in to comment.