Add property id of list of hosts that should bypass the proxy (#136) #150
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
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@v5 | |
env: | |
CGO_CFLAGS: "-I/tmp/carbon/current/include/c_api" | |
CGO_LDFLAGS: "-L/tmp/carbon/current/lib/x64 -lMicrosoft.CognitiveServices.Speech.core" |