Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update checkout action version #21764

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-update-commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# get the Go version of the target branch
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
- name: Get former Go version
Expand All @@ -21,7 +21,7 @@ jobs:
echo version="$(cat .go-version)" >> $GITHUB_OUTPUT

# get the Go version of the PR branch
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get current Go version
id: new_go_version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go_mod_tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'dependencies-go')) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Checkout PR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gohai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
go-file: [.go-version, pkg/gohai/go.mod]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version-file: ${{ matrix.go-file }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/serverless-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
go install golang.org/x/perf/cmd/benchstat@latest

- name: Checkout datadog-agent repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: go/src/github.com/DataDog/datadog-agent

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/serverless-binary-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout datadog-agent repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: go/src/github.com/DataDog/datadog-agent

Expand All @@ -25,7 +25,7 @@ jobs:
git checkout $GITHUB_BASE_REF

- name: Checkout the datadog-lambda-extension repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: DataDog/datadog-lambda-extension
path: go/src/github.com/DataDog/datadog-lambda-extension
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/serverless-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: ${{ matrix.suite }} on ${{ matrix.architecture }}
steps:
- name: Checkout datadog-agent repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: go/src/github.com/DataDog/datadog-agent

Expand All @@ -32,7 +32,7 @@ jobs:
run: sudo yarn global add serverless@^3.36.0 --prefix /usr/local

- name: Checkout the datadog-lambda-extension repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: DataDog/datadog-lambda-extension
path: go/src/github.com/DataDog/datadog-lambda-extension
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/windows-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-2019 # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
steps:
- name: Checkout datadog-agent repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 #needed for 'git describe' to work

Expand Down Expand Up @@ -63,4 +63,3 @@ jobs:
powershell.exe -Command ./tasks/winbuildscripts/pre-go-build.ps1
inv -e rtloader.format --raise-if-changed
inv -e lint-go --timeout 30

2 changes: 1 addition & 1 deletion .github/workflows/windows-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-2022 # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
steps:
- name: Checkout datadog-agent repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 #needed for 'git describe' to work

Expand Down
Loading