-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup ACT to work with nix-shell - pt#1
- Loading branch information
1 parent
1f97a21
commit d66f057
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest | ||
--platform ubuntu-latest=myoung34/github-runner:latest | ||
--container-cap-add SYS_ADMIN |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Development of GitHub Actions | ||
|
||
## Using `act` to run workflow locally | ||
|
||
1. Make sure docker is running and available, ex. `docker run hello-world` | ||
2. Run: `docker pull nektos/act-environments-ubuntu:18.04-full` - this will take significant amount of time so make sure it doesn't block your work | ||
3. Run: `act`, it should start container and run workflow! | ||
|
||
To specify which workflow to run, use `-w {path_to_yaml}` when running `act`. | ||
Check `act --help` for more informations. |
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