Skip to content

Commit

Permalink
Merge pull request #4190 from DataDog/tonycthsu/ubuntu
Browse files Browse the repository at this point in the history
Replace `ubuntu-latest` with pinned version
  • Loading branch information
TonyCTHsu authored Dec 4, 2024
2 parents 7f079c9 + 1f622a7 commit 6d104cc
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-milestone-to-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
contents: read
issues: write
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true && github.event.pull_request.milestone == null
steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
type:
- final
- dev
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Build gem (${{ matrix.type }})
steps:
- name: Checkout
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
type:
- final
- dev
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Test gem
needs:
- build
Expand All @@ -96,7 +96,7 @@ jobs:
matrix:
type:
- dev
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Push gem
needs:
- test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: ghcr.io/datadog/images-rb/engines/ruby:3.2
steps:
Expand All @@ -15,7 +15,7 @@ jobs:

check:
name: Check types
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: ghcr.io/datadog/images-rb/engines/ruby:3.2
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/datadog-sca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Datadog Software Composition Analysis

jobs:
software-composition-analysis:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Datadog SBOM Generation and Upload
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/datadog-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Datadog Static Analysis

jobs:
static-analysis:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Datadog Static Analyzer
steps:
- name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lock-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
pr:
name: Pull Request attached
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
pr_found: ${{ steps.pr.outputs.pr_found }}
pr_base_ref: ${{ steps.pr.outputs.pr.base.ref }}
Expand All @@ -40,7 +40,7 @@ jobs:
name: Depenedency changes
needs: pr
if: ${{ needs.pr.outputs.pr_found == 'true' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
changes: ${{ steps.changes.outputs.dependencies }}
steps:
Expand All @@ -57,7 +57,7 @@ jobs:
filters: .github/dependency_filters.yml

lock:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: dependency
if: ${{ needs.dependency.outputs.changes == 'true' }}
strategy:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
commit:
name: Commit changes
needs: lock
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/labeler@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

container:
image: returntocorp/semgrep
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
internal: system_tests/agent:latest
- name: proxy
internal: datadog/system-tests:proxy-v1
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
packages: write
name: Build (${{ matrix.image.name }})
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- rails72
- rails80
- graphql23
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Build (${{ matrix.app }})
permissions:
packages: write
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
- library: ruby
app: graphql23
scenario: GRAPHQL_APPSEC
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- build-harness
- build-apps
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
- rails72
- rails80
- graphql23
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- build-harness
- build-apps
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
- weblog-rails72
- weblog-rails80
- weblog-graphql23
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- test
if: ${{ always() }}
Expand All @@ -458,7 +458,7 @@ jobs:
continue-on-error: true

build-artifacts:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
packages: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-yjit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-22.04
ruby:
- '3.2'
- '3.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-latest-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

aggregate:
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: ghcr.io/datadog/images-rb/engines/ruby:3.2
env:
Expand Down

0 comments on commit 6d104cc

Please sign in to comment.