build(deps): bump golang.org/x/net from 0.30.0 to 0.33.0 in the go_modules group #181
This file contains 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: E2E tests | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
linux-amd64: | |
name: Linux amd64 | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
objects.githubusercontent.com:443 | |
ppa.launchpadcontent.net:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
security.ubuntu.com:80 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
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 seccomp | |
uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 | |
with: | |
packages: libseccomp-dev | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable | |
run: make opinions-linux_amd64-hardened | |
- name: Run E2E tests | |
run: make CLI=opinions-linux_amd64-hardened e2e | |
linux-arm: | |
name: Linux ARMv7 | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | |
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 | |
downloads.raspberrypi.org:443 | |
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 Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable | |
run: make opinions-linux_armv7 | |
- name: Run E2E tests inside VM | |
uses: pguyot/arm-runner-action@e1773de1ed6eb61848f5693de824d836f0b0ea25 # v2.6.5 | |
with: | |
cpu: cortex-a7 | |
cpu_info: cpuinfo/raspberrypi_3b | |
base_image: raspios_lite:latest | |
commands: | | |
make CLI=opinions-linux_armv7 e2e | |
linux-arm64: | |
name: Linux ARM64 | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | |
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 | |
downloads.raspberrypi.org:443 | |
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 Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable | |
run: make opinions-linux_arm64 | |
- name: Run E2E tests inside VM | |
uses: pguyot/arm-runner-action@e1773de1ed6eb61848f5693de824d836f0b0ea25 # v2.6.5 | |
with: | |
cpu: cortex-a53 | |
cpu_info: cpuinfo/raspberrypi_zero2_w_arm64 | |
base_image: raspios_lite_arm64:latest | |
commands: | | |
make CLI=opinions-linux_arm64 e2e | |
windows: | |
name: Windows amd64 (not hardened) | |
runs-on: windows-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable | |
run: make opinions-windows_amd64.exe | |
- name: Run E2E tests | |
run: make CLI=opinions-windows_amd64.exe e2e | |
freebsd: | |
name: FreeBSD amd64 | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
0.freebsd.pool.ntp.org:443 | |
2.freebsd.pool.ntp.org:443 | |
raw.githubusercontent.com:443 | |
objects.githubusercontent.com:443 | |
changelogs.ubuntu.com:443 | |
ppa.launchpadcontent.net:443 | |
packages.microsoft.com:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
pypi.org:443 | |
files.pythonhosted.org:443 | |
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 Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable for FreeBSD amd64 | |
run: make opinions-freebsd_amd64 | |
- name: Run E2E tests inside VM | |
uses: vmactions/freebsd-vm@a50912ab96b7568d0fa9c1156c6facd6f11488a9 # v1.1.0 | |
with: | |
usesh: true | |
run: | | |
set -e -x | |
make CLI=opinions-freebsd_amd64 e2e | |
openbsd: | |
name: OpenBSD amd64 | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
api.github.com:443 | |
proxy.golang.org:443 | |
sum.golang.org:443 | |
pool.ntp.org:443 | |
cdn.openbsd.org:443 | |
www.google.com:443 | |
raw.githubusercontent.com:443 | |
objects.githubusercontent.com:443 | |
time.cloudflare.com:443 | |
ppa.launchpadcontent.net:443 | |
packages.microsoft.com:443 | |
azure.archive.ubuntu.com:80 | |
motd.ubuntu.com:443 | |
esm.ubuntu.com:443 | |
pypi.org:443 | |
files.pythonhosted.org:443 | |
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 Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable for OpenBSD amd64 | |
run: make opinions-openbsd_amd64-hardened | |
- name: Run E2E tests inside VM | |
uses: vmactions/openbsd-vm@e380ea9a0ddd47e281f4160883fcc5929b9e4cc7 # v1.1.0 | |
with: | |
run: | | |
make CLI=opinions-openbsd_amd64-hardened e2e |