Skip to content

Merge pull request #16 from solo-io/add-license #64

Merge pull request #16 from solo-io/add-license

Merge pull request #16 from solo-io/add-license #64

Workflow file for this run

name: gloo-portal-idp-connect CI
on:
push:
branches:
- main
paths-ignore:
- '.ci/**'
- '**/*.md'
pull_request:
branches:
- main
paths-ignore:
- '.ci/**'
- '**/*.md'
jobs:
style-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.1
- name: golangci-lint
if: github.event_name == 'pull_request'
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --timeout=3m
go-unit-test:
runs-on: ubuntu-20.04
needs: [style-check]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.1
- name: install-tools
run: make install-go-tools
- name: Test
run: make run-unit-tests