diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 03b9179..4603d8c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3 with: go-version: 1.21 - name: Git checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: '0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b305046..e76ec4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,12 +15,12 @@ jobs: goarch: [amd64,arm64] steps: - name: Git checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: '0' - name: Build release - uses: wangyoucao577/go-release-action@v1.46 + uses: wangyoucao577/go-release-action@23b3194d60e5291b78d4ebf84705f5d6c5a74c0e # v1.46 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }}