Merge pull request #32 from monasticacademy/match-original-uid #98
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: Test | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
release: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Apt | |
uses: awalsh128/cache-apt-pkgs-action@v1 | |
with: | |
packages: dnsutils socat openjdk-21-jdk-headless openjdk-21-jre-headless | |
version: 1.0 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
- name: Setup Deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Build | |
run: go build | |
- name: Test | |
run: go test | |
- name: Install | |
run: | | |
go install | |
sudo setcap 'cap_net_admin=ep cap_sys_admin=ep cap_dac_override=ep' $(which httptap) | |
- name: End To End | |
run: go run ./testing/run-tests |