Skip to content

Runtime: Azure storage connector #3493

Runtime: Azure storage connector

Runtime: Azure storage connector #3493

Workflow file for this run

on:
pull_request:
paths:
- ".github/workflows/go-test.yml"
- "**.go"
- "go.mod"
name: Test Go code
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20.3
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Go fmt
run: test -z $(gofmt -l .)
- name: Go test
run: go test -short -v ./...