patch(deps): bump golang from 1.23.4-alpine@sha256:6c5c9590f169f77c8046e45c611d3b28fe477789acd8d3762d23d4744de69812 to sha256:d9db32125db0c3a680cfb7a1afcaefb89c898a075ec148fdc2f0f646cc2ed509 #819
This file contains hidden or 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Docker BuildKit | |
| uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0 | |
| - name: Build and run dev container task | |
| uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417 | |
| 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 |