Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update toolchain and dependencies #36

Merged
merged 5 commits into from
Jun 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 19 additions & 24 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,14 @@ 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: 1.79.0
components: clippy, rustfmt
targets: x86_64-unknown-linux-musl
- 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 +77,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 +88,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: 1.79.0
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 +106,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 @@ -121,14 +117,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: 1.79.0
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 @@ -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
Loading
Loading