Skip to content

Commit

Permalink
GitHub Actions build testing - run codeql-analysis on both mod_authnz…
Browse files Browse the repository at this point in the history
…_external and mod_authz_unixgroup + remove re-rooted workspace
  • Loading branch information
bimimicah committed Nov 23, 2024
1 parent 056ad4f commit a2751ee
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Re-root the workspace
run: |
dir
mv mod_authnz_external ..
cd ..
rm -rf mod-auth-external
mv mod_authnz_external mod-auth-external
cd mod-auth-external
dir
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand All @@ -73,9 +63,16 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

- run: |
sudo apt-get install apache2 apache2-dev
make
- name: Install Dependencies
run: sudo apt-get install apache2 apache2-dev libbsd-dev

- name: Build mod_authnz_external
run: make
working-directory: ./mod_authnz_external

- name: Build mod_authz_unixgroup
run: make
working-directory: ./mod_authz_unixgroup

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit a2751ee

Please sign in to comment.