Skip to content

Commit

Permalink
feat: setup ci (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden authored May 16, 2024
1 parent 7a31090 commit 585a354
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions Argcfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ install() {
fi
}

# @cmd Show versions of required tools for bug reports.
version() {
argc --argc-version
jq --version
curl --version | head -n 1
}

_parse_declaration() {
jq -r '
Expand Down

0 comments on commit 585a354

Please sign in to comment.