diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d0361612..81188645 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: outputs: go-version: ${{ steps.get-go-version.outputs.go-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 - name: Determine Go version id: get-go-version run: | @@ -21,8 +21,8 @@ jobs: runs-on: ubuntu-latest needs: [get-go-version] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - run: 'exit $(( $(gofmt -s -l . | wc -l) != 0 ))' @@ -32,8 +32,8 @@ jobs: runs-on: ubuntu-latest needs: [get-go-version] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: go-version: ${{ needs.get-go-version.outputs.go-version }} - run: go test -v ./codec \ No newline at end of file