From 9c697566aa035be23adbd357360f3805e299a533 Mon Sep 17 00:00:00 2001 From: kaveh Date: Sun, 15 Aug 2021 15:38:32 -0500 Subject: [PATCH 1/2] Add release event to GH CI Action --- .github/workflows/ci.yml | 2 ++ CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24693d4..ee60645 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: push: branches: - develop + release: + types: [published] jobs: test: diff --git a/CHANGELOG.md b/CHANGELOG.md index 87af16c..3679093 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### v0.1.7 - Updated dependencies and tested with Rust 1.54 -- Replaced Travis CI with Githib Actions +- Replaced Travis CI with Github Actions - Fixed an issue with missing headers - Use log macros to output messages From 95297f74761329ab114e29334364fb2e99a577fb Mon Sep 17 00:00:00 2001 From: kaveh Date: Sun, 15 Aug 2021 15:44:18 -0500 Subject: [PATCH 2/2] Fix typo --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee60645..b4bb80e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Check formats and run tests and coverage +name: Lint, test, and publish on: push: @@ -80,7 +80,7 @@ jobs: args: -- -D warnings publish: - name: Publish to creates.io + name: Publish to crates.io runs-on: ubuntu-latest if: github.event_name == 'release' steps: