1 # Github Actions workflow
7 # Run the jobs for all pushes and pull requests
14 # And once per month to ensure the project continues to work
20 runs-on: ubuntu-latest
21 container: ${{ matrix.container }}
29 - uses: actions/checkout@v2
30 - name: Setup dependencies
33 apt-get install --no-install-recommends --yes golang golang-golang-x-tools build-essential clang git ca-certificates
36 # Run as user nobody so CAP_DAC_OVERRIDE is dropped and the tests
37 # can chmod a file 0000 to force "permission denied" errors.
38 export HOME=/tmp # writable by nobody
40 # Empty TEST_* as -fsanitize doesn't work in a Docker container
41 runuser -p -u nobody -- ./ci/run TEST_CFLAGS= TEST_LDFLAGS=