chore(Dockerfile): update Go base image from 1.22.2 to 1.22.8 for sec… #126
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: Continuous integration, build and deploy | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
arangodb: | |
image: arangodb:3.11 | |
env: | |
ARANGO_ROOT_PASSWORD: rootpass | |
ports: | |
- 8529/tcp | |
steps: | |
- name: set up golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '~1.22' | |
- name: check out code | |
uses: actions/checkout@v4 | |
- name: unit test | |
run: go test -parallel 4 -covermode=atomic -coverprofile=profile.cov -v ./... | |
env: | |
ARANGO_USER: root | |
ARANGO_PASS: rootpass | |
ARANGO_HOST: localhost | |
ARANGO_PORT: ${{ job.services.arangodb.ports[8529] }} | |
GOPROXY: https://proxy.golang.org | |
- name: upload coverage to codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
file: ./profile.cov | |
token: ${{ secrets.CODECOV }} | |
call-build-deploy: | |
needs: test | |
uses: dictyBase/workflows/.github/workflows/composite-deploy.yaml@develop | |
secrets: inherit | |
with: | |
app: content | |
project: modware-content | |
stack: experiments | |
repository: ${{ github.repository }} | |
ref: ${{ github.ref_name }} | |
dockerfile: build/package/Dockerfile | |
docker_image: modware-content | |
cluster: ${{ vars.DEV_STAGING_CLUSTER }} | |
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }} |