Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

build(deps): bump github/codeql-action from 4.31.0 to 4.32.4 #1795

build(deps): bump github/codeql-action from 4.31.0 to 4.32.4

build(deps): bump github/codeql-action from 4.31.0 to 4.32.4 #1795

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CI: true
permissions:
contents: read
jobs:
ci:
name: Build, Test and Lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- name: Install clang for Windows
if: runner.os == 'Windows'
run: |
iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop install llvm --global
# Scoop modifies the PATH so we make the modified PATH global.
echo $env:PATH >> $env:GITHUB_PATH
- name: Setup Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 20.18.0
- name: Setup Docker
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
if: runner.os == 'Linux'
- name: Fetch
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 1
# Skip macOS & Windows, cache there is slower
- name: Restore node_modules cache for Linux
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Build libllhttp.a
shell: bash
run: |
make build/libllhttp.a
- name: Build WebAssembly
run: npm run build-wasm
if: runner.os == 'Linux'
- name: Run tests
run: npm run test
- name: Lint Code
run: npm run lint
if: runner.os == 'Linux'