Skip to content

build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 #324

build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0

build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 #324

Workflow file for this run

name: GitHub CI
on:
pull_request:
branches: [ master ]
paths:
- 'meson.build'
- '.github/workflows/**'
- '**.c'
push:
branches: [ master ]
paths:
- 'meson.build'
- '.github/workflows/**'
- '**.c'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
env:
- { CC: "gcc" }
- { CC: "clang" }
env: ${{ matrix.env }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: block
allowed-endpoints: >
archive.ubuntu.com:80
azure.archive.ubuntu.com:80
github.com:443
security.ubuntu.com:80
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install packages
run: sudo apt-get install build-essential gcc clang meson libsystemd-dev libselinux1-dev
- name: Setup
run: meson setup builddir/
- name: Compile with (${{ env.CC }})
run: meson compile -C builddir/ -v
- name: Test
run: meson test -C builddir/ -v