Use synthetic directory in local_fs::tests::open_access_denied #2
This file contains hidden or 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: Main CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # GutHub environment claims it's user is root. Doesn't look so. | |
| # Use of 'sudo' and some tweaks are necessary. | |
| - name: Prepare environment | |
| run: sudo ./prepare_debian_environment.sh && sudo chmod o+r "$(readlink -f /boot/vmlinuz)" && sudo chmod 0666 /dev/kvm | |
| - name: Run linter | |
| run: make lint | |
| - name: Run tests | |
| run: make test | |
| - name: Build | |
| run: make release | |
| - name: 'Upload Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: rtftp | |
| path: ./target/release/rtftp | |
| retention-days: 1 |