Skip to content

Commit

Permalink
🌅
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Dec 26, 2022
0 parents commit 12085f0
Show file tree
Hide file tree
Showing 14 changed files with 1,533 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
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
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
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 }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.nt
target/
venv/
9 changes: 9 additions & 0 deletions CHANGELOG.md
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
Loading

0 comments on commit 12085f0

Please sign in to comment.