test runner docker

This commit is contained in:
张超
2025-06-23 17:42:25 +08:00
parent 3f65ca8257
commit 03d3a10ee7
2 changed files with 2 additions and 2 deletions

View File

@@ -24,4 +24,5 @@ jobs:
- name: Run Docker container - name: Run Docker container
run: | run: |
docker run -d -p 8910:8910 go-blog:latest docker stop goblog
docker run -d -p 8910:8910 --name goblog go-blog:latest

View File

@@ -15,7 +15,6 @@ import (
"github.com/gin-contrib/sessions" "github.com/gin-contrib/sessions"
"github.com/gin-contrib/sessions/cookie" "github.com/gin-contrib/sessions/cookie"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
// 新增Session依赖
) )
// @title 个人博客系统 // @title 个人博客系统