added go install air to devcontainer for hot reloading dev server. #141
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 within dev container' | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v3 | |
- name: Build and run dev container task | |
uses: devcontainers/[email protected] | |
with: | |
imageName: ghcr.io/bebop/ark-devcontainer | |
cacheFrom: ghcr.io/bebop/ark-devcontainer | |
push: never | |
# Change this to be your CI task/script | |
runCmd: go test -v ./... |