24 lines
485 B
YAML
24 lines
485 B
YAML
|
name: Test Application
|
||
|
|
||
|
on: [pull_request]
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Run docker build
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Run docker build
|
||
|
run: make docker-build
|
||
|
test:
|
||
|
name: Run unit tests
|
||
|
env:
|
||
|
GOPATH: /tmp/go
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- uses: actions/checkout@v3
|
||
|
with:
|
||
|
ref: ${{ github.event.inputs.tags }}
|
||
|
path: "./foundry-test/"
|