From 96c91490e53f2cbdfc15090060fa744d67412bbd Mon Sep 17 00:00:00 2001 From: Clay Bridges Date: Fri, 30 Oct 2026 11:11:03 -0400 Subject: [PATCH] Pin workflow actions with `gh actions-lock` --- .github/workflows/actions.lock | 38 ++++++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 12 +++++------ 2 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/actions.lock diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock new file mode 100644 index 0000000..dbc821b --- /dev/null +++ b/.github/workflows/actions.lock @@ -0,0 +1,38 @@ +# This file is machine-generated by `gh actions-lock`. +# Do not edit by hand; run `gh actions-lock` to update. +# Docs: https://gh.io/actions-lockfile +version: 'v0.0.3' +workflows: + '.github/workflows/ci.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-go@v7.0.0' + - 'codecov/codecov-action@v7.1.1' + - 'golangci/golangci-lint-action@v9.3.0' +dependencies: + 'actions/checkout@v7.0.1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd': + ref: 'v8.0.0' + commit: 'sha1-ed597411d8f924073f98dfc5c65a23a2325f34cd' + owner_id: 44036562 + repo_id: 205262760 + 'actions/setup-go@v7.0.0': + ref: 'v7.0.0' + commit: 'sha1-b7ad1dad31e06c5925ef5d2fc7ad053ef454303e' + owner_id: 44036562 + repo_id: 192624594 + 'codecov/codecov-action@v7.1.1': + ref: 'v7.1.1' + commit: 'sha1-303a32d7a59b442fa8d48b6a1cc6825c09c847a5' + owner_id: 8226205 + repo_id: 200299178 + uses: + - 'actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd' + 'golangci/golangci-lint-action@v9.3.0': + ref: 'v9.3.0' + commit: 'sha1-ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a' + owner_id: 35628013 + repo_id: 232539879 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee7c05d..f48529b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 - name: Set up Go - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + uses: actions/setup-go@v7.0.0 with: go-version: '1.26.x' check-latest: true @@ -30,7 +30,7 @@ jobs: run: go tool task test - name: Upload coverage to Codecov - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 + uses: codecov/codecov-action@v7.1.1 with: files: ./coverage.txt flags: unittests @@ -44,15 +44,15 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v7.0.1 - name: Set up Go - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + uses: actions/setup-go@v7.0.0 with: go-version: '1.26.x' check-latest: true - name: Run golangci-lint - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 + uses: golangci/golangci-lint-action@v9.3.0 with: version: latest