Skip to content

build(deps): bump step-security/harden-runner from 2.8.1 to 2.10.1 #334

build(deps): bump step-security/harden-runner from 2.8.1 to 2.10.1

build(deps): bump step-security/harden-runner from 2.8.1 to 2.10.1 #334

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.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