Skip to content

GET /personal/corp/settings (#34) #117

GET /personal/corp/settings (#34)

GET /personal/corp/settings (#34) #117

Workflow file for this run

name: CI
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
unit-tests:
name: unit-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
cache: true # caching and restoring go modules and build outputs
- name: Test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.txt
fail_ci_if_error: true
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
cache: true # caching and restoring go modules and build outputs
- name: Check that 'go mod tidy' was called before commit
run: go mod tidy && git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52
skip-cache: true # cache/restore is done by actions/setup-go step