Add Token header to header parameters #65
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: 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 |