feat: Update GitHub actions jobs (#131) #6
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: Integration Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.20' | |
- name: Make Docker images | |
run: | | |
make docker | |
make run-base | |
sleep 15 | |
cd rtsf-at-checkout-event-simulator && mkdir -p "$PWD"/test_results && go run main.go > "$PWD"/test_results/results.txt | |
- uses: actions/[email protected] | |
with: | |
name: test_results | |
path: ${{ github.workspace }}/test_results/ |