From 4182c5730fbe40750712959b618453345a4b0da3 Mon Sep 17 00:00:00 2001 From: Timothy Stiles Date: Fri, 18 Aug 2023 20:58:48 +0000 Subject: [PATCH] changed devtest workflow trigger. --- .github/workflows/devtest.yml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.github/workflows/devtest.yml b/.github/workflows/devtest.yml index abbe035..a83ecef 100644 --- a/.github/workflows/devtest.yml +++ b/.github/workflows/devtest.yml @@ -1,7 +1,23 @@ -- name: Pre-build image and run make ci-build in dev container - uses: devcontainers/ci@v0.3 - with: - imageName: ghcr.io/bebop/ark-devcontainer - cacheFrom: ghcr.io/bebop/ark-devcontainer - push: always - runCmd: go test -v ./... \ No newline at end of file +on: + push: + tags: + - v* + branches: + - main + pull_request: +name: Test +jobs: + test: + strategy: + matrix: + go-version: [1.18.x] + platform: [ubuntu-latest] + runs-on: ${{ matrix.platform }} + steps: + - name: Pre-build image and run make ci-build in dev container + uses: devcontainers/ci@v0.3 + with: + imageName: ghcr.io/bebop/ark-devcontainer + cacheFrom: ghcr.io/bebop/ark-devcontainer + push: always + runCmd: go test -v ./... \ No newline at end of file