Skip to content

Retire jetson

Retire jetson #38

Workflow file for this run

name: Go Codestyle
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- '**/*.go'
- '.github/workflows/go-codestyle.yml'
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '**/*.go'
- '.github/workflows/go-codestyle.yml'
jobs:
check-go-binding-codestyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: binding/go
# TODO: figure out why the linter complains about this??
args: --exclude="could not import C"
check-go-micdemo-codestyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: demo/go/micdemo
check-go-filedemo-codestyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: demo/go/filedemo