mirror of https://github.com/hungrybluedev/geo
[Enhancement] Add CITATION.cff, Linters, and Maintain CI (#3)
* Create CITATION.cff * Add linters for CFF and CI; reduce permissionsmain
parent
63abe3e3b5
commit
5a3e958ae1
|
@ -8,7 +8,23 @@ on:
|
|||
schedule:
|
||||
- cron: '0 0 * * 4'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
actionlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout ${{ github.repository }}
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Lint CI
|
||||
uses: docker://rhysd/actionlint:latest
|
||||
with:
|
||||
args: -color
|
||||
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -21,8 +37,10 @@ jobs:
|
|||
with:
|
||||
stable: true
|
||||
|
||||
- name: Checkout ${{ github.event.repository.name }}
|
||||
- name: Checkout ${{ github.repository }}
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Check if code is formatted
|
||||
run: |
|
||||
|
@ -34,3 +52,16 @@ jobs:
|
|||
|
||||
- name: Run Tests
|
||||
run: v test .
|
||||
|
||||
cffconvert:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout ${{ github.repository }}
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Lint CITATION.cff
|
||||
uses: docker://citationcff/cffconvert:latest
|
||||
with:
|
||||
args: --validate
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
abstract: A sample CLI tool made in V that prints geometric shapes to the screen.
|
||||
authors:
|
||||
- alias: hungrybluedev
|
||||
family-names: Haldar
|
||||
given-names: Subhomoy
|
||||
cff-version: 1.2.0
|
||||
date-released: 2023-04-20
|
||||
license: MIT
|
||||
message: Please cite this software using these information.
|
||||
repository-code: https://github.com/hungrybluedev/geo
|
||||
title: geo
|
||||
url: https://github.com/hungrybluedev/geo
|
||||
version: 0.2.4
|
Loading…
Reference in New Issue