From e1eda9e1a5a20375433da82f395aadc090268566 Mon Sep 17 00:00:00 2001 From: Leonardo Luz Almeida Date: Fri, 21 Jun 2024 10:54:47 -0400 Subject: [PATCH] chore: Pin github actions in ci job Signed-off-by: Leonardo Luz Almeida --- .github/workflows/ci.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a469645..957de12 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,22 +6,22 @@ on: branches: [ main ] jobs: ci: - name: Compile + name: Continuous Integration runs-on: ubuntu-latest timeout-minutes: 10 steps: - - name: Set up Go 1.x - uses: actions/setup-go@v5 + - name: Set up Go + uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # pin@v5 with: go-version: "1.22" # see https://github.com/actions/setup-go?tab=readme-ov-file#caching-dependency-files-and-build-outputs cache-dependency-path: | go.sum - - name: Check out repo - uses: actions/checkout@v4 + - name: Checkout Repo + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4 - name: Get dependencies run: go mod download - - name: build + - name: Build run: make - - name: test + - name: Run Unit-Tests run: make test