created new dev container environment. #4
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
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 ./... |