Skip to content

Use synthetic directory in local_fs::tests::open_access_denied #2

Use synthetic directory in local_fs::tests::open_access_denied

Use synthetic directory in local_fs::tests::open_access_denied #2

Workflow file for this run

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