fix(provisioning): handling of broken media types #2429
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
# GitHub Actions - CI for Go to build & test. See ci-go-cover.yml and linters.yml for code coverage and linters. | |
# Stolen from: https://github.com/fxamacker/cbor/workflows/ci.yml (thanks!) | |
name: ci | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Test on ubuntu-latest | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
CI_PIPELINE: true | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.22" | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install mockgen | |
run: | | |
go install github.com/golang/mock/[email protected] | |
- name: Install gopls | |
run: | | |
go install golang.org/x/tools/gopls@latest | |
- name: Install guru | |
run: | | |
go install golang.org/x/tools/cmd/guru@latest | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: protoc-gen deps | |
run: | | |
go install google.golang.org/protobuf/cmd/[email protected] | |
go install google.golang.org/grpc/cmd/[email protected] | |
go install github.com/mitchellh/[email protected] | |
- name: Build project | |
run: | | |
make | |
- name: Run tests | |
run: | | |
go version | |
make -w test CI_PIPELINE=${{ env.CI_PIPELINE }} |