Skip to content

test for csrf during oauth #12

test for csrf during oauth

test for csrf during oauth #12

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
tags:
- '*'
jobs:
test-and-release:
runs-on: ubuntu-slim
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Run tests
run: go test -v ./...
- name: Run GoReleaser
if: startsWith(github.ref, 'refs/tags/')
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}