Skip to content

fix(olink): add misssing return #303

fix(olink): add misssing return

fix(olink): add misssing return #303

Workflow file for this run

# This workflow will ensure that the goldenmaster is always up-to-date before being merged
name: Technology Template Goldenmaster Test
on:
pull_request:
branches: [main]
env:
GITHUB_AUTH_TOKEN: ${{ secrets.WOLFGANG_REPO_PACKAGE_READ }}
GOPRIVATE: "github.com/apigear-io/*"
GH_ACCESS_TOKEN: ${{ secrets.APIGEAR_REPOS }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
go_version: "1.19.x"
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-go@v3
with:
go-version: ${{env.go_version}}
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-${{ matrix.go-version }}-
- run: go run main.go install
- run: go run main.go diff
- name: Install clang-format-12
run: sudo apt-get install --no-install-recommends -y clang-format-12 && sudo mv /usr/bin/clang-format-12 /usr/bin/clang-format