Skip to content

Commit

Permalink
.actrc: Add configuration for act to run githuc CI actions locally
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
  • Loading branch information
bernhardkaindl committed Jun 30, 2023
1 parent cbb2dba commit a1d3261
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .actrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--workflows .github/act-serial.yaml
--platform js-20.04=ghcr.io/catthehacker/ubuntu:js-20.04
--platform ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
--platform ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04
--platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest

# If using podman, use one of these, preferably in your ~/.actrc:
# For act-cli.rpm on Fedora 37:
# --container-daemon-socket /run/user/1000/podman/podman.sock
# For the latest act, use this in your ~/.actrc:
# --container-daemon-socket unix:///run/user/1000/podman/podman.sock
# More information on setting up act can be found at:
# https://github.com/xenserver/python-libs/blob/master/CONTRIBUTING.md#running-github-actions-locally-using-act

0 comments on commit a1d3261

Please sign in to comment.