Skip to content

Commit

Permalink
feat: add Github action; improve file types
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jul 1, 2024
1 parent 9efc4a0 commit 3c980e5
Show file tree
Hide file tree
Showing 12 changed files with 485 additions and 326 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

# github: [zensh]
buy_me_a_coffee: zensh
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clippy
run: cargo clippy --verbose --all-targets --all-features
- name: Run tests
run: cargo test --verbose --workspace -- --nocapture
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
args: -p ic-oss-types -p ic-oss ic-oss-cli
ignore-unpublished-changes: true
Loading

0 comments on commit 3c980e5

Please sign in to comment.