Test unshare in GitHub runners #323
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: | |
# Allow running this workflow manually from the Actions tab | |
workflow_dispatch: | |
pull_request: | |
push: | |
# Run weekly on the default branch to make sure it always builds with the latest rust release | |
schedule: | |
- cron: '30 5 * * 1' | |
jobs: | |
test-matrix: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Unshare test | |
run: | | |
ls -nd $HOME /etc | |
unshare -r -- ls -nd $HOME /etc |