Skip to content

Commit

Permalink
scan too
Browse files Browse the repository at this point in the history
  • Loading branch information
opcm committed Oct 13, 2024
1 parent e31f1e0 commit 02c1932
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/freebsd_scan_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ permissions:
jobs:
build:

runs-on: macos-12
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
uses: step-security/harden-runner@446798f8213ac2e75931c1b0769676d927801858 # v2.10.0
with:
egress-policy: audit
egress-policy: block
allowed-endpoints: >
*.freebsd.pool.ntp.org:443
github.com:443
objects.githubusercontent.com:443
pkg.FreeBSD.org:*
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
Expand All @@ -32,6 +37,10 @@ jobs:
operating_system: freebsd
version: '13.2'
run: |
sudo mkdir -p /usr/local/etc/pkg/repos
sudo sh -c 'echo "FreeBSD: { url: \"https://pkg.FreeBSD.org/\${ABI}/quarterly\", mirror_type: \"srv\", enabled: yes }" > /usr/local/etc/pkg/repos/FreeBSD.conf'
sudo pkg update -f
sudo pkg upgrade -y
sudo pkg install -y curl gmake cmake devel/llvm llvm
pwd
ls -lah
Expand Down

0 comments on commit 02c1932

Please sign in to comment.