CNJR-2127: Use Docker Compose v2 #329
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: Unit Tests | |
on: | |
# Run this on pushes to main | |
push: | |
branches: | |
- main | |
# Or when PR operations are done | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
test: | |
name: Golang Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.13 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.13 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Run Golang unit tests | |
run: ci/test_unit |