Skip to content

Commit 31051a0

Browse files
Pin dependencies (#209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 9e26972 commit 31051a0

File tree

7 files changed

+26
-26
lines changed

7 files changed

+26
-26
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2626
- name: Setup PHP
27-
uses: shivammathur/setup-php@v2
27+
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
2828
with:
2929
php-version: ${{ matrix.php }}
3030
- name: Build
@@ -46,10 +46,10 @@ jobs:
4646

4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v5
49+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5050

5151
- name: Setup PHP
52-
uses: shivammathur/setup-php@v2
52+
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
5353
with:
5454
php-version: ${{ matrix.php }}
5555

@@ -67,9 +67,9 @@ jobs:
6767
pecl-package:
6868
runs-on: ubuntu-latest
6969
container:
70-
image: php:8.3-cli
70+
image: php:8.3-cli@sha256:a599bc74b464f3e31b5ad0b45839e2ac8ba689d8c92372e38f9e9a5a734c9a2c
7171
steps:
72-
- uses: actions/checkout@v5
72+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7373

7474
- name: Package and copy
7575
run: |
@@ -78,7 +78,7 @@ jobs:
7878
pear package
7979
cp opentelemetry-*.tgz binaries/
8080
- name: Upload artifacts
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8282
with:
8383
name: opentelemetry-pecl
8484
path: ext/binaries/*.tgz
@@ -94,16 +94,16 @@ jobs:
9494
ts: ['ts', 'nts']
9595
steps:
9696
- name: Checkout
97-
uses: actions/checkout@v5
97+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
9898
- name: Install PHP ${{ matrix.php }}-${{ matrix.ts }}
9999
id: setup-php-sdk
100-
uses: php/setup-php-sdk@v0.11
100+
uses: php/setup-php-sdk@474d4e386703a8bf269c41661c6b934a751a61bf # v0.11
101101
with:
102102
version: ${{ matrix.php }}
103103
arch: x64
104104
ts: ${{ matrix.ts }}
105105
- name: Install dependencies
106-
uses: ilammy/msvc-dev-cmd@v1
106+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1
107107
with:
108108
arch: x64
109109
toolset: ${{ steps.setup-php-sdk.outputs.toolset }}
@@ -139,7 +139,7 @@ jobs:
139139
run: |
140140
Get-ChildItem -Path binaries -Recurse -Force | ForEach-Object { $_.FullName }
141141
- name: Upload artifacts
142-
uses: actions/upload-artifact@v4
142+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
143143
with:
144144
name: ${{env.BUILD_NAME}}
145145
path: ext\binaries\${{env.BUILD_NAME}}\${{env.BUILD_NAME}}.dll
@@ -154,17 +154,17 @@ jobs:
154154
continue-on-error: false
155155
steps:
156156
- name: Checkout
157-
uses: actions/checkout@v5
157+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
158158
- name: download-artifacts
159-
uses: actions/download-artifact@v5
159+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
160160
with:
161161
path: ext/artifacts
162162
- name: zip
163163
run: |
164164
cd artifacts
165165
find . -maxdepth 1 -type d -exec zip -jr {}.zip {} \;
166166
- name: Release
167-
uses: softprops/action-gh-release@v2
167+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2
168168
with:
169169
generate_release_notes: true
170170
draft: true

.github/workflows/check-style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
name: Formatting Check
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v5
10+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1111
- name: Run clang-format style check
12-
uses: jidicula/clang-format-action@v4.15.0
12+
uses: jidicula/clang-format-action@4726374d1aa3c6aecf132e5197e498979588ebc8 # v4.15.0
1313
with:
1414
clang-format-version: '16'
1515
check-path: ext

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
if: github.repository == 'open-telemetry/opentelemetry-php-instrumentation'
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v5
23-
- uses: shivammathur/setup-php@v2
22+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
23+
- uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
2424
with:
2525
php-version: 8.5
2626
- name: Build

.github/workflows/publish-php-debug-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
steps:
2525

2626
- name: check out the repo
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2828

2929
- name: Set up Docker Buildx
30-
uses: docker/setup-buildx-action@v3
30+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
3131

3232
- name: Login to GitHub Container Registry
33-
uses: docker/login-action@v3
33+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
3434
with:
3535
registry: ghcr.io
3636
username: ${{ github.repository_owner }}
@@ -43,7 +43,7 @@ jobs:
4343
echo "Latest version in ${{ matrix.php-version }} is ${PHP_VERSION}"
4444
4545
- name: Build and push ${{ env.PHP_VERSION }} as ${{ matrix.php-version }}-${{ matrix.os }} to ghcr.io
46-
uses: docker/build-push-action@v6
46+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
4747
with:
4848
push: true
4949
file: docker/Dockerfile.${{ matrix.os }}

.github/workflows/split.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
permissions:
1919
contents: write # required for pushing changes
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2222
with:
2323
fetch-depth: 0
2424
- name: Split repositories
25-
uses: docker://jderusse/gitsplit:latest
25+
uses: docker://jderusse/gitsplit:latest@sha256:ca619e08d0608d7ab8067be02db13409ec63a0e241c6308be42593f0c0ac705d
2626
with:
2727
args: gitsplit
2828
env:

docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG ALPINE_VERSION=alpine:3.20
1+
ARG ALPINE_VERSION=alpine:3.20@sha256:765942a4039992336de8dd5db680586e1a206607dd06170ff0a37267a9e01958
22
FROM ${ALPINE_VERSION} AS builder
33
WORKDIR /usr/src
44

docker/Dockerfile.debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bookworm-slim
1+
FROM debian:bookworm-slim@sha256:78d2f66e0fec9e5a39fb2c72ea5e052b548df75602b5215ed01a17171529f706
22
WORKDIR /usr/src
33

44
#clang-format, gdb, valgrind

0 commit comments

Comments
 (0)