Skip to content

GH workflow to test. #1

GH workflow to test.

GH workflow to test. #1

Workflow file for this run

# Copyright (c) 2024 Diagrid Inc.
# Licensed under the MIT License.
name: "Build and testing"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
timeout-minutes: 30
services:
etcd:
image: quay.io/coreos/etcd:v3.5.5
env:
- ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379

Check failure on line 23 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build and testing

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 23, Col: 11): A sequence was not expected
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
ports:
- 2379:2379
env:
GOOS: linux
GOARCH: amd64
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: 'false'
- name: Run test
run: go test