build(deps): bump step-security/harden-runner from 2.12.0 to 2.12.1 #370
Workflow file for this run
This file contains hidden or 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: Quality check | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
static-analysis: | |
name: Static analysis | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
ppa.launchpadcontent.net:443 | |
packages.microsoft.com:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup OS | |
# uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 | |
# with: | |
# packages: libseccomp-dev | |
run: sudo apt-get update && sudo apt-get install -y libseccomp-dev | |
- name: Setup Go | |
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- run: make check | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
ppa.launchpadcontent.net:443 | |
packages.microsoft.com:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
httpbin.org:443 | |
hn.algolia.com:80 | |
hn.algolia.com:443 | |
lemmy.world:443 | |
lobste.rs:443 | |
www.reddit.com:443 | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup OS | |
# uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 | |
# with: | |
# packages: libseccomp-dev | |
run: sudo apt-get update && sudo apt-get install -y libseccomp-dev | |
- name: Setup Go | |
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- run: make test |