Skip to content

Commit

Permalink
GH Actions: grabthecam-build: Fixed code linting
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Latosinski <[email protected]>
  • Loading branch information
glatosinski committed Jan 22, 2024
1 parent f06d878 commit 9102550
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/grabthecam-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,17 @@ on:
pull_request:
branches: [main]

env:
CC: /usr/bin/gcc-12
CXX: /usr/bin/g++-12

jobs:
lint:
runs-on: ubuntu-latest
container:
image: debian:bookworm

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: |
.github/scripts/prepare-env.sh
sudo .github/scripts/prepare-env.sh
- name: Build the project
run: |
Expand All @@ -35,7 +29,7 @@ jobs:
run: |
cd build
make format
test -z $(git diff) && exit 0 || exit 1
test $(git status --porcelain | wc -l) -eq 0 || { git diff; false; }
example-build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9102550

Please sign in to comment.