Test working properly and pulling the image from outside. #29
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: Build and Test MetaCall Builder | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "v*.*.*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
# TODO: | |
# - name: Lint | |
# run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.59.1 golangci-lint run -v --enable-all | |
- name: Build | |
run: docker compose build | |
- name: Test Binary | |
run: ./test/test.sh binary | |
- name: Test Rootless | |
run: ./test/test.sh rootless | |
- name: Test Daemon | |
run: ./test/test.sh client |