chore(deps): update golang:1.23.4 docker digest to cb00c13 #37
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: App CI | |
on: | |
push: | |
paths: [ 'app/**' ] | |
pull_request: | |
paths: [ 'app/**' ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./app | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
sparse-checkout: | | |
app | |
- name: "Set up Go" | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version-file: app/go.mod | |
cache: true | |
cache-dependency-path: | | |
app/go.sum | |
- name: "Build" | |
run: go build cmd/http/main.go | |
- name: "Run test" | |
run: go test -v ./... |