feat: setup ci (#2)
This commit is contained in:
@@ -0,0 +1,33 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
all:
|
||||||
|
name: All
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: extractions/setup-crate@v1
|
||||||
|
with:
|
||||||
|
owner: sigoden
|
||||||
|
name: argc
|
||||||
|
|
||||||
|
- name: Check versions
|
||||||
|
run: argc version
|
||||||
|
|
||||||
|
- name: Check scripts
|
||||||
|
run: argc build
|
||||||
@@ -71,6 +71,12 @@ install() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# @cmd Show versions of required tools for bug reports.
|
||||||
|
version() {
|
||||||
|
argc --argc-version
|
||||||
|
jq --version
|
||||||
|
curl --version | head -n 1
|
||||||
|
}
|
||||||
|
|
||||||
_parse_declaration() {
|
_parse_declaration() {
|
||||||
jq -r '
|
jq -r '
|
||||||
|
|||||||
Reference in New Issue
Block a user