Skip to content

Bump version to 1.30.0 #123

Bump version to 1.30.0

Bump version to 1.30.0 #123

Workflow file for this run

name: Lint code
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
env:
CARBON_VERSION: "1.30.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"