build(deps): Bump actions/checkout from 4.1.4 to 4.2.2 #110
Workflow file for this run
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: CLI E2E tests | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.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 | |
- 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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable | |
run: make sortof-linux_amd64 | |
- name: Run E2E tests | |
run: make CLI=sortof-linux_amd64 e2e | |
windows: | |
name: Windows | |
runs-on: windows-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable | |
run: make sortof-windows_amd64.exe | |
- name: Run E2E tests | |
run: make CLI=sortof-windows_amd64.exe e2e | |
openbsd: | |
name: OpenBSD | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
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 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: 'stable' | |
- name: Install dependencies | |
run: make | |
- name: Build executable for OpenBSD amd64 | |
run: make sortof-openbsd_amd64 | |
- name: Run E2E tests inside VM | |
uses: vmactions/openbsd-vm@0cfe06e734a0ea3a546fca7ebf200b984b94d58a # v1.1.4 | |
with: | |
run: | | |
make CLI=sortof-openbsd_amd64 e2e |