Skip to content

refactor: autoconfigure github username for git creds in actions (#352) #12

refactor: autoconfigure github username for git creds in actions (#352)

refactor: autoconfigure github username for git creds in actions (#352) #12

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
smoke:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Check shell syntax
run: |
for file in src/*.sh src/ci/*.sh; do
bash -n "$file"
done
- name: Shellcheck
# `-x` follows the source chain from the entry points, so cross-file
# variable usage is visible and needs no suppressions
run: shellcheck -x -S warning src/main.sh src/setup_hooks.sh src/ci/*.sh
- name: Check env.toml parsing
shell: bash
run: |
source src/util_functions.sh && check_toml_env
- name: Check download URLs
run: src/ci/smoke_test.sh