-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 12085f0
Showing
14 changed files
with
1,533 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
env: | ||
# The NAME makes it easier to copy/paste snippets from other CI configs | ||
NAME: rdf-star-presidents | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Format | ||
run: cargo fmt --all --check | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: cargo run --locked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- release* | ||
tags: | ||
- 'v*' | ||
|
||
env: | ||
# The NAME makes it easier to copy/paste snippets from other CI configs | ||
NAME: rdf-star-presidents | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run | ||
run: | | ||
cargo run -q > rdf-star-presidents.nt | ||
- uses: ncipollo/release-action@v1 | ||
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | ||
with: | ||
artifacts: "rdf-star-presidents.nt" | ||
artifactErrorsFailBuild: true | ||
body: "See [CHANGELOG.md](https://github.com/langston-barrett/rdf-star-presidents/blob/main/CHANGELOG.md)" | ||
draft: true | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.nt | ||
target/ | ||
venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Changelog | ||
|
||
<!-- https://keepachangelog.com/en/1.0.0/ --> | ||
|
||
## [0.1.0] - 2022-12-26 | ||
|
||
Initial release! | ||
|
||
[0.1.0]: https://github.com/langston-barrett/rdf-star-presidents/releases/tag/v0.1.0 |
Oops, something went wrong.