Skip to content

move 'refute' on compile_commands.json at the start of most tests int… #50

move 'refute' on compile_commands.json at the start of most tests int…

move 'refute' on compile_commands.json at the start of most tests int… #50

Workflow file for this run

name: AK-Core Lint
on:
pull_request:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
shellcheck:
defaults:
run:
shell: bash
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v16
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run Shellcheck
run: |
nix profile install \
nixpkgs#autoconf \
nixpkgs#automake \
nixpkgs#libtool \
nixpkgs#shellcheck \
nixpkgs#gnumake \
nixpkgs#gawk \
nixpkgs#findutils \
nixpkgs#coreutils \
nixpkgs#gnused \
nixpkgs#file \
nixpkgs#bash \
;
./bootstrap.sh;
./configure --enable-shellcheck;
cd src/sh-scripts;
make check-local;