add env var AZURE_SERVICEDISCOVERY_CACHE_TTL and add SetSubscriptionID #133
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: "CI codecheck" | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Swap Space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 12 | |
- name: Run Golangci lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: latest | |
args: --print-resources-usage |