fix(workflow): pr not work properly

This commit is contained in:
源文雨
2024-05-13 00:54:11 +09:00
parent 94efc8a1af
commit 7c47a55d74
2 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,9 @@ jobs:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@master
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: golangci-lint
uses: golangci/golangci-lint-action@master