Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
more ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sky9x committed Nov 21, 2023
1 parent 4b1d8ad commit e31b3a4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ permissions:

on:
push:
pull_request:

jobs:
clippy:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to crates.io

on: workflow_dispatch

permissions:
contents: read

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable

- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{secrets.CRATES_IO_PUBLISH}}
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description = "Build & Validation Tool for the Inertya Specification"
authors = ["Sky <[email protected]>"]
repository = "https://github.com/inertya/nr-spec-md"
license = "MIT OR Apache-2.0"
exclude = [".github"]

[dependencies]
anyhow = "1"
Expand Down

0 comments on commit e31b3a4

Please sign in to comment.