Skip to content

feat(api): add POST method that will add a uuid #18

feat(api): add POST method that will add a uuid

feat(api): add POST method that will add a uuid #18

Workflow file for this run

name: build
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- '.github/workflows/release.yaml'
pull_request:
jobs:
build:
name: build
env:
GO_VERSION: 1.21.3
GOLANGCI_LINT_VERSION: v1.55.2
YAEGI_VERSION: v0.15.1
CGO_ENABLED: 0
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/setup-go-environment
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v3
with:
go-version: ^${{ env.GO_VERSION }}
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v3
with:
fetch-depth: 0

Check failure on line 34 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Set up GOPATH
run: go env -w GOPATH=${{ github.workspace }}/go
- name: Check and get dependencies
run: |
go mod tidy
git diff --exit-code go.mod
go mod download
go mod vendor
# https://github.com/marketplace/actions/run-golangci-lint
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: "--help"
- name: Lint, Test, Build
run: make lint test build
- name: Install yaegi ${{ env.YAEGI_VERSION }}
run: curl -sfL https://raw.githubusercontent.com/traefik/yaegi/master/install.sh | bash -s -- -b ${{ github.workspace }}/go/bin ${{ env.YAEGI_VERSION }}
- name: Copy sources
run: make copy_src
- name: Run tests with yaegi
run: ${{ github.workspace }}/go/bin/yaegi test -v github.com/bluecatengineering/traefik-aws-plugin
env:
GOPATH: ${{ github.workspace }}/go