Skip to content

Bumping version to 1.33.0. (#113) #135

Bumping version to 1.33.0. (#113)

Bumping version to 1.33.0. (#113) #135

Workflow file for this run

name: Lint code
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
env:
CARBON_VERSION: "1.33.0"
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Carbon
run: |
mkdir /tmp/carbon
pushd /tmp/carbon
wget https://csspeechstorage.blob.core.windows.net/drop/$CARBON_VERSION/SpeechSDK-Linux-$CARBON_VERSION.tar.gz
tar xzf SpeechSDK-Linux-$CARBON_VERSION.tar.gz
rm SpeechSDK-Linux-$CARBON_VERSION.tar.gz
ln -s SpeechSDK-Linux-$CARBON_VERSION current
popd
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
env:
CGO_CFLAGS: "-I/tmp/carbon/current/include/c_api"
CGO_LDFLAGS: "-L/tmp/carbon/current/lib/x64 -lMicrosoft.CognitiveServices.Speech.core"