PLT-827: Support for cloud account import API. #153
Workflow file for this run
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
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build-with-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Configure git for private modules | |
env: | |
TOKEN: ${{ secrets.SPECTRO_TOKEN }} | |
USER: ${{ secrets.SPECTRO_USER }} | |
run: git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com" | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Vet | |
run: make vet | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test |