diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 11e1a61fc54..58142bec96f 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -12,7 +12,7 @@ on: jobs: changelog: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: "!contains(github.event.pull_request.labels.*.name, 'Skip Changelog')" steps: @@ -31,4 +31,4 @@ jobs: echo "No CHANGELOG was modified." echo "Please add a CHANGELOG entry, or add the \"Skip Changelog\" label if not required." false - fi \ No newline at end of file + fi diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 943cec5df4a..10311aac18c 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -5,7 +5,7 @@ on: jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/stale@v3 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b979a3121ba..e6072beb11c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -16,7 +16,7 @@ on: jobs: CodeQL-Build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout repository @@ -32,4 +32,4 @@ jobs: uses: github/codeql-action/autobuild@v1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 \ No newline at end of file + uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/docs-update.yml b/.github/workflows/docs-update.yml index 78927177766..f3b46a075ac 100644 --- a/.github/workflows/docs-update.yml +++ b/.github/workflows/docs-update.yml @@ -6,7 +6,7 @@ on: jobs: update-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: checkout uses: actions/checkout@v2 diff --git a/.github/workflows/public-api-check.yml b/.github/workflows/public-api-check.yml index 5d85ef3f898..20f21958d45 100644 --- a/.github/workflows/public-api-check.yml +++ b/.github/workflows/public-api-check.yml @@ -9,7 +9,7 @@ on: jobs: publicAPICheck: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: "!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0921357cb33..40379e29316 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ebb36ee8a2e..8fb7598ed71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: matrix: python-version: [ py36, py37, py38, py39, pypy3 ] package: ["instrumentation", "core", "exporter", "propagator"] - os: [ ubuntu-latest ] + os: [ ubuntu-20.04 ] steps: - name: Checkout Core Repo @ SHA - ${{ github.sha }} uses: actions/checkout@v2 @@ -81,7 +81,7 @@ jobs: matrix: tox-environment: [ "docker-tests", "lint", "docs", "mypy", "mypyinstalled", "tracecontext" ] name: ${{ matrix.tox-environment }} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout Core Repo @ SHA - ${{ github.sha }} uses: actions/checkout@v2 @@ -119,7 +119,7 @@ jobs: matrix: python-version: [ py36, py37, py38, py39, pypy3 ] package: ["instrumentation", "exporter"] - os: [ ubuntu-latest ] + os: [ ubuntu-20.04 ] steps: - name: Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} uses: actions/checkout@v2 @@ -151,7 +151,7 @@ jobs: matrix: tox-environment: [ "docker-tests"] name: ${{ matrix.tox-environment }} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }} uses: actions/checkout@v2