Bump broccli and add a comment #1
Workflow file for this run
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
name: Test build | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
main: | |
name: Build and run | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Call action get-ref-properties | |
id: get-ref-properties | |
uses: Cardinal-Cryptography/github-actions/get-ref-properties@v4 | |
- name: Build docker image | |
run: | | |
docker build --tag garu-${{ steps.get-ref-properties.outputs.sha }} -f Dockerfile . | |
- name: Run docker containers | |
run: | | |
docker run --rm -d \ | |
--name test-garu-${{ steps.get-ref-properties.outputs.sha }} \ | |
garu-${{ steps.get-ref-properties.outputs.sha }} | |
- name: Remove docker container | |
if: always() | |
run: | | |
docker rm -f test-garu-${{ steps.get-ref-properties.outputs.sha }} || true | |