Add logic to override CORS headers #70
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
name: Check & test & build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
check: | |
name: Quality & security checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 'stable' | |
check-latest: true | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Lint Go Code | |
run: make check | |
test: | |
name: Test & coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 'stable' | |
check-latest: true | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
- name: Run unit tests with | |
run: make test |