Skip to content

Merge pull request #3 from raito-io/RAITO-1572-use-simpler-export-fie… #22

Merge pull request #3 from raito-io/RAITO-1572-use-simpler-export-fie…

Merge pull request #3 from raito-io/RAITO-1572-use-simpler-export-fie… #22

Workflow file for this run

name: Raito CLI - Azure Plugin - Build
on:
push:
branches:
- 'main'
pull_request:
env:
GOPRIVATE: "github.com/raito-io/*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
cache: true
- name: Configure git for private modules
run: git config --global url."https://${{secrets.CI_SECRETS_TOKEN_USER}}:${{secrets.CI_SECRETS_TOKEN}}@github.com".insteadOf "https://github.com"
- name: Mod Tidy
run: go mod tidy
- name: Build
run: make build
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
#- name: Test
# run: make test
# env:
# SF_ACCOUNT: ${{ secrets.sf_account }}
# SF_USER: ${{ secrets.sf_user }}
# SF_PASSWORD: ${{ secrets.sf_password }}
# SF_ROLE: ${{ secrets.sf_role }}
# SF_STANDARD_EDITION: true
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt