mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 01:59:04 +02:00
chore(github-actions): update dependency ubuntu to v26 (main) (#2611)
This commit is contained in:
@@ -22,7 +22,7 @@ permissions: {}
|
||||
jobs:
|
||||
detect-changes:
|
||||
name: Detect Windows test changes
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
permissions:
|
||||
contents: read
|
||||
outputs:
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
|
||||
build:
|
||||
name: Build Windows binaries
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
@@ -262,7 +262,7 @@ jobs:
|
||||
|
||||
docker:
|
||||
name: Build docker images
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
if: ${{ !cancelled() && needs.detect-changes.result == 'success' && needs.package.result == 'success' && (needs.windows-test.result == 'success' || needs.windows-test.result == 'skipped') }}
|
||||
# Images are pushed on branch and tag events, so gate them on the same
|
||||
# validation as the release binaries in the publish job.
|
||||
@@ -343,7 +343,7 @@ jobs:
|
||||
|
||||
publish:
|
||||
if: github.repository == 'prometheus-community/windows_exporter' && startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
needs:
|
||||
- package
|
||||
- windows-test
|
||||
@@ -1573,7 +1573,7 @@ jobs:
|
||||
|
||||
super-linter:
|
||||
name: Super Linter
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
@@ -1626,7 +1626,7 @@ jobs:
|
||||
- windows-test
|
||||
- lint
|
||||
- super-linter
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
steps:
|
||||
- name: Verify checks passed
|
||||
run: |
|
||||
|
||||
@@ -26,7 +26,7 @@ concurrency:
|
||||
jobs:
|
||||
rules:
|
||||
name: Validate mixin rules and dashboard
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 15
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -38,7 +38,7 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
name: Build runbooks
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -90,7 +90,7 @@ jobs:
|
||||
name: Publish runbooks
|
||||
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
||||
needs: build
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
pages: write
|
||||
|
||||
Reference in New Issue
Block a user