Skip to content

✨ add middleware

✨ add middleware #2

Workflow file for this run

name: Test
on:
workflow_dispatch:
pull_request:
branches: [ main ]
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'docs/**'
- '.github/**'
- 'LICENSE'
- 'Taskfile.yaml'
- '.gitignore'
- '.gosec.config.json'
- '.editorconfig'
- '.goreleaser.yaml'
jobs:
test:
runs-on: ubuntu-latest
services:
mailhog:
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025
steps:
- name: Checkout Code
uses: actions/[email protected]
- name: Set up Go
uses: actions/[email protected]
with:
go-version: '1.20'
- name: Install Task
uses: arduino/[email protected]
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: task test