Skip to content

feat: allow cors

feat: allow cors #27

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
permissions:
contents: write
pull-requests: write
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.22"
check-latest: true
- name: Ensure Go Is Properly Installed
run: go version
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
lfs: true
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Test
run: go test -cover -short ./...