Skip to content

Commit

Permalink
chore(deps): update github-actions deps to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 17, 2024
1 parent 1b6a451 commit 6ce439a
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Cache Go
id: go-mod-cache
timeout-minutes: 25
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~\go\pkg\mod
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -98,7 +98,7 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- name: Cache Lint Build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/go-build
key: go-lint-build-${{ matrix.group }}-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -169,7 +169,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -260,7 +260,7 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- name: Cache Test Build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/go-build
key: go-test-build-${{ runner.os }}-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
Expand All @@ -270,7 +270,7 @@ jobs:
- name: Run Unit Tests With Coverage
if: startsWith( matrix.go-version, '~1.20' ) # only run coverage on one version
run: make gotest-with-cover GROUP=${{ matrix.group }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: startsWith( matrix.go-version, '~1.20' ) # only run coverage on one version
with:
name: coverage-artifacts
Expand All @@ -296,7 +296,7 @@ jobs:
needs: [unittest]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage-artifacts
- name: Upload coverage report
Expand All @@ -321,7 +321,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -342,7 +342,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -368,7 +368,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand Down Expand Up @@ -437,7 +437,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -452,7 +452,7 @@ jobs:
- name: Build Collector ${{ matrix.binary }}
run: make GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} GOARM=${{ matrix.arm }} otelcontribcol
- name: Upload Collector Binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-binaries
path: ./bin/*
Expand All @@ -475,7 +475,7 @@ jobs:
- name: Install fpm
run: gem install --no-document fpm -v 1.11.0
- name: Download Collector Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: bin/
Expand All @@ -499,7 +499,7 @@ jobs:
./internal/buildscripts/packaging/fpm/test.sh dist/otel-contrib-collector*x86_64.rpm examples/demo/otel-collector-config.yaml
fi
- name: Upload Packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-packages
path: ./dist/*
Expand All @@ -512,13 +512,13 @@ jobs:
with:
fetch-depth: 0
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: ./bin/
- name: Cache Wix
id: wix-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
"C:\Program Files (x86)\WiX Toolset v3.11"
Expand All @@ -534,7 +534,7 @@ jobs:
- name: Validate MSI
run: .\internal\buildscripts\packaging\msi\make.ps1 Confirm-MSI
- name: Upload MSI
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-packages
path: ./dist/*.msi
Expand All @@ -545,12 +545,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: ./bin/
- name: Download Packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-packages
path: ./dist/
Expand All @@ -573,7 +573,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -586,13 +586,13 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: ./bin/
- run: chmod +x bin/*
- name: Download Packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-packages
path: ./dist/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Build Collector
run: make otelcontribcol
- name: Upload Collector Binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-binary
path: ./bin/*
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -64,7 +64,7 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make -j2 gomoddownload
- name: Download Collector Binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binary
path: bin/
Expand All @@ -76,7 +76,7 @@ jobs:
run: |
docker save otelcontribcol:latest > /tmp/otelcontribcol.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: otelcontribcol
path: /tmp/otelcontribcol.tar
Expand All @@ -97,7 +97,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -117,7 +117,7 @@ jobs:
run: |
kubectl get csr -o=jsonpath='{range.items[?(@.spec.signerName=="kubernetes.io/kubelet-serving")]}{.metadata.name}{" "}{end}' | xargs kubectl certificate approve
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: otelcontribcol
path: /tmp
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -165,7 +165,7 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make -j2 gomoddownload
- name: Download Collector Binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binary
path: bin/
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -46,7 +46,7 @@ jobs:
run: make install-tools
- run: make oteltestbedcol
- name: Upload Collector Binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-binaries
path: ./bin/*
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand All @@ -84,7 +84,7 @@ jobs:
run: make install-tools
- run: mkdir -p results && touch results/TESTRESULTS.md
- name: Download Collector Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: bin/
Expand All @@ -103,12 +103,12 @@ jobs:
- name: Upload Test Results
if: ${{ failure() || success() }}
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./*.tar
- run: cp testbed/tests/results/benchmarks.json testbed/tests/results/${{steps.filename.outputs.name}}.json
- name: Upload benchmarks.json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: testbed/tests/results/${{steps.filename.outputs.name}}.json
Expand All @@ -123,7 +123,7 @@ jobs:
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: benchmark-results
path: results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prometheus-compliance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tidy-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/go/bin
Expand Down

0 comments on commit 6ce439a

Please sign in to comment.