Skip to content

Commit

Permalink
Merge pull request #208 from tommilligan/deps-upgrade
Browse files Browse the repository at this point in the history
chore: upgrade rust, deps and actions
  • Loading branch information
tommilligan authored Aug 16, 2024
2 parents 147a9bd + 8751b3c commit d4667a5
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 203 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
toolchain: stable
components: rustfmt, clippy
- name: Install node toolchain
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
Expand All @@ -74,7 +74,7 @@ jobs:
rust:
- stable
- beta
- 1.74.0
- 1.76.0
experimental:
- false
include:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ jobs:
tar czvf ../../stage/${{ env.CRATE_NAME }}-${{ steps.extract_tag.outputs.tag }}-${{ matrix.name }} ${{ env.CRATE_NAME }}
cd -
- name: Post Setup | Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.CRATE_NAME }}-${{ steps.extract_tag.outputs.tag }}-${{ matrix.name }}
path: target/stage/*
# Idempotency: overwrite artefact by name if we're rerunning the deployment
overwrite: true

# Create GitHub release with Rust build targets and release notes
github_release:
Expand All @@ -109,7 +111,7 @@ jobs:
fetch-depth: 0

- name: Setup | Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Setup | Extract version
shell: bash
Expand All @@ -120,7 +122,7 @@ jobs:
run: |
cat CHANGELOG.md | sed -n '/^## ${{ steps.extract_version.outputs.version }}$/,/^## /p' | sed '$d' > RELEASE.md
- name: Build | Publish
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ${{ env.CRATE_NAME }}-*/${{ env.CRATE_NAME }}-*
body_path: RELEASE.md
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Changed

- MSRV (minimum supported rust version) is now 1.76.0 ([#208](https://github.com/tommilligan/mdbook-admonish/pull/208))

## v1.18.0

### Changed
Expand Down
Loading

0 comments on commit d4667a5

Please sign in to comment.