Created
January 22, 2021 10:10
-
-
Save paulmwatson/ec0753ff8f84ace3dc90d115f3cd564e to your computer and use it in GitHub Desktop.
Use nektos/act to test Github Actions with Docker locally
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
#.github/workflow/test.yaml | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
docker-compose -f docker-compose.yml up | |
# Bash | |
act --platform ubuntu-latest=lucasalt/act_base:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment