Skip to content

Merge pull request #227 from Shopify/dependabot/github_actions/action… #290

Merge pull request #227 from Shopify/dependabot/github_actions/action…

Merge pull request #227 from Shopify/dependabot/github_actions/action… #290

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
name: Go test
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Get latest Go version
id: gover
run: echo goversion=$(awk -F':|-' '!/^#/ {print $2}' .github/dockerfile-for-dependabot/Dockerfile) >> "$GITHUB_OUTPUT"
- name: Setup go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: "${{ steps.gover.outputs.goversion }}"
- run: |
go mod download
go test -race -coverprofile=coverage.txt -covermode=atomic