Skip to content

FFM-1082 Update with tag 1.40.1 for signalfx-go and update for stopTime #409

FFM-1082 Update with tag 1.40.1 for signalfx-go and update for stopTime

FFM-1082 Update with tag 1.40.1 for signalfx-go and update for stopTime #409

Workflow file for this run

name: build-and-test
on:
push:
branches:
- main
pull_request:
env:
GO_VERSION: "1.20"
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Caching dependency
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Build
run: make build
test:
name: test
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Caching dependency
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Test
run: make test