build(deps): bump github/codeql-action from 3.27.5 to 3.27.6 #309
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Refresh dependencies | |
run: sudo apt update | |
- name: Install dependencies | |
run: sudo apt install shellcheck -y | |
- name: Run pre-commit hooks | |
run: | | |
./contrib/setup | |
source venv/bin/activate | |
sed -i "/no-commit-to-branch/,+1d" .pre-commit-config.yaml | |
pre-commit run --all-files | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [fedora, debian-x86_64, arch, debian-i386] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker login | |
run: docker login docker.pkg.github.com -u $GITHUB_ACTOR -p $GITHUB_TOKEN | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Build in container | |
env: | |
CI_NETWORK: true | |
CI: true | |
run: | | |
echo $GITHUB_WORKSPACE | |
docker run --privileged -e CI=true -t -v $GITHUB_WORKSPACE:/github/workspace docker.pkg.github.com/fwupd/fwupd/fwupd-${{matrix.os}}:latest ./contrib/ci.sh |