From 9e5fcda7efa03fa3c48b5d191e50a965eb45f513 Mon Sep 17 00:00:00 2001 From: null Date: Mon, 2 Oct 2023 04:44:53 +0000 Subject: [PATCH] Pin dependencies --- .github/workflows/test_ci.yaml | 12 ++++++------ Dockerfile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_ci.yaml b/.github/workflows/test_ci.yaml index 1d8fa70..e203c10 100644 --- a/.github/workflows/test_ci.yaml +++ b/.github/workflows/test_ci.yaml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - name: Run golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3 with: # Hard-coding version due to this bug: https://github.com/golangci/golangci-lint-action/issues/535 version: v1.52.2 @@ -22,14 +22,14 @@ jobs: GITHUB_ACTION: true steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 with: go-version: 1.18 - name: Set up gotestfmt uses: GoTestTools/gotestfmt-action@v2 - - uses: actions/cache@v3 + - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: path: | ~/go/pkg/mod @@ -51,7 +51,7 @@ jobs: go tool cover -func /tmp/coverage.out echo "::endgroup::" - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 if: always() with: name: test-results diff --git a/Dockerfile b/Dockerfile index 46956a1..68c46d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/centos/centos:stream8@sha256:039dfede2e3ab9093411ac1054697eeefa6272ab57092f6c804b53cf937b8bb2 +FROM quay.io/centos/centos:stream8@sha256:e4e81a5e6be8f8f7eb511a8df3afcd4e7123e68c56bc03efc40fbd0ab5b2e4fd COPY tests/test_script.sh / RUN dnf install net-tools -y