Skip to content

Merge pull request #7 from tinh-tinh/feat/ren/1-csrf-token #3

Merge pull request #7 from tinh-tinh/feat/ren/1-csrf-token

Merge pull request #7 from tinh-tinh/feat/ren/1-csrf-token #3

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'
- name: Install dependencies
run: go mod download
- name: Build
run: go build -v ./...
- name: Test
run: go test -cover ./...