patch(deps): Bump golang from 5c1cabd
to 9390a99
#598
Workflow file for this run
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: devcontainer-ci | |
on: | |
push: | |
paths-ignore: | |
- README.md | |
- LICENSE.md | |
- 'docs/**' | |
- '.github/workflows/actions.yaml' | |
- '.github/workflows/codeql-analysis.yaml' | |
- '.github/dependabot.yaml' | |
- '.gitignore' | |
branches: | |
- root | |
pull_request: | |
paths-ignore: | |
- README.md | |
- LICENSE.md | |
- 'docs/**' | |
- '.github/workflows/actions.yaml' | |
- '.github/workflows/codeql-analysis.yaml' | |
- '.github/dependabot.yaml' | |
- '.gitignore' | |
workflow_dispatch: | |
jobs: | |
devcontainer-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
fetch-depth: 0 | |
- name: Setup Docker BuildKit | |
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 | |
- name: Build and run dev container task | |
uses: devcontainers/ci@c3e31cc561800ac318ed000e22ffc6713c93d009 | |
with: | |
imageName: ghcr.io/jjliggett/jjversion-dc | |
runCmd: | | |
echo "Starting" | |
make test | |
go vet | |
go test ./... | |
go build -o jjversion | |
./jjversion | |
./jjversion | jq --raw-output '.MajorMinorPatch' | |
docker build -t jjliggett/jjversion . | |
docker run -d --name jjversion jjliggett/jjversion sleep infinity | |
docker cp . jjversion:/repo | |
docker exec -t jjversion jjversion | |
docker kill jjversion | |
docker rm jjversion | |
push: never |