Skip to content

Commit

Permalink
Update Github Actions to Ubuntu 24.04 (#4441)
Browse files Browse the repository at this point in the history
Until now we were using ubuntu-latest, which will automatically become ubuntu 24.04 soon.
With this we make it explicit and controlled.
  • Loading branch information
carles-grafana authored Dec 16, 2024
1 parent 90b2ac5 commit ead4ca8
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-to-docs-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: grafana/writers-toolkit/add-to-docs-project@add-to-docs-project/v1
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
main:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Actions
uses: actions/checkout@v4
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:

- name: Check out code
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
test-target:
Expand All @@ -80,7 +80,7 @@ jobs:

integration-tests:
name: Run integration tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
test-target:
Expand All @@ -105,7 +105,7 @@ jobs:

build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -132,7 +132,7 @@ jobs:

benchmark:
name: Benchmark
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -147,7 +147,7 @@ jobs:

vendor-check:
name: Vendor check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -165,7 +165,7 @@ jobs:

tempo-jsonnet:
name: Check jsonnet & tempo-mixin
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -186,7 +186,7 @@ jobs:

build-technical-documentation:
name: Build technical documentation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_serverless_gomod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
dependabot:
name: Serverless gomod update
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Set up Go 1.23
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:
jobs:
doc-validator:
runs-on: "ubuntu-latest"
runs-on: "ubuntu-24.04"
container:
image: "grafana/doc-validator:v5.2.0"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/metrics-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
# this action keeps failing in all forks, only run in grafana/tempo.
# stats collection action is only useful in main repo.
if: github.repository == 'grafana/tempo'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Get app token
uses: actions/create-github-app-token@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/milestoned_to_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
# only run in grafana/tempo.
if: github.repository == 'grafana/tempo'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Get app token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-technical-documentation-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: grafana/writers-toolkit/publish-technical-documentation@publish-technical-documentation/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sbom-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
syft-sbom:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
stale:
# only run in grafana/tempo.
if: github.repository == 'grafana/tempo'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-make-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
main:
if: github.repository == 'grafana/tempo'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: grafana/writers-toolkit/update-make-docs@update-make-docs/v1

0 comments on commit ead4ca8

Please sign in to comment.