Skip to content

Commit

Permalink
fix: make release work
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed Feb 10, 2022
1 parent e0426e6 commit 6dc7a79
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

name: ci

on: [push]

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy

- name: fmt
run: cargo fmt --all -- --check

- name: clippy
run: cargo clippy -- -D warnings

- name: test
run: cargo test

- name: build
run: cargo build --release --all-features
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Release
name: release

on:
push:
tags:
- v[0-9]+.*
release:
types: [created]

jobs:
create-release:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Conventional git commit messages done right
download to your profile from [here](https://github.com/veritem/gcm/releases)


## [MIT](./LICENSE) Licence © 2022



0 comments on commit 6dc7a79

Please sign in to comment.