feat: semconv 1.24 and updated to go 1.21 #36
Workflow file for this run
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: ci | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- LICENCE | |
branches: | |
- master | |
pull_request: | |
env: | |
DEFAULT_GO_VERSION: 1.15 | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/[email protected] | |
with: | |
go-version: ${{ env.DEFAULT_GO_VERSION }} | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Run test | |
run: go test ./... | |
- name: Build | |
run: go build | |
- name: Build Examples | |
run: | | |
# build basic example | |
docker build -f ./examples/basic/Dockerfile . | |
# build multi services example | |
docker build -f ./examples/multi-services/back-svc/Dockerfile ./examples/multi-services | |
docker build -f ./examples/multi-services/front-svc/Dockerfile ./examples/multi-services |