Add a bug report issue template #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting checks | |
on: | |
push: | |
branches: [ "main", "dev" ] | |
pull_request: | |
branches: [ "main", "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: cppcheck shellcheck | |
version: 1.0 | |
- name: Install birb funcs | |
run: sudo mkdir -p /usr/lib/birb && sudo cp -v birb_funcs /usr/lib/birb/ | |
- name: Install default configs | |
run: sudo mkdir -p /etc && sudo cp -v birb.conf birb-sources.conf /etc/ | |
- name: Download the vim package seed used with shellcheck | |
run: sudo mkdir -p /var/db/pkg/vim && sudo curl -o /var/db/pkg/vim/seed.sh https://raw.githubusercontent.com/birb-linux/BirbOS-packages/master/vim/seed.sh | |
- name: ShellCheck | |
run: make check_sh | |
- name: CppCheck | |
run: make check_cpp |