github actions: rewrite file test action to fix ulimit; add timeouts

This commit is contained in:
Joakim Frostegård 2021-10-23 19:02:05 +02:00
parent 08488f50cd
commit d0aa87f99e
5 changed files with 20 additions and 13 deletions

View file

@ -1,8 +1,10 @@
# Container image that runs your code
# Not used by Github action, but can be used to run test locally:
# 1. docker build -t aquatic ./path/to/Dockerfile
# 2. docker run aquatic
# 3. On failure, run `docker rmi aquatic -f` and go back to step 1
FROM rust:bullseye
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]