Added plugin checks to CI #22
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: build | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.2' | |
cache: false | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Golangci Lint | |
uses: golangci/golangci-lint-action@v4 | |
- name: Run tests | |
run: go test -race | |
- name: Check plugin | |
run: docker run --rm -v "$PWD/go.sum:/app/go.sum" -w /app devopsfaith/krakend:2.6.2 krakend check-plugin -g 1.22.2 -l "MUSL-1.2.4_(alpine-3.18.6)" -s ./go.sum |