diff --git a/.github/DEPENDENCIES.md b/.github/DEPENDENCIES.md index 337c7ac..5e4b63c 100644 --- a/.github/DEPENDENCIES.md +++ b/.github/DEPENDENCIES.md @@ -57,8 +57,3 @@ We have [pinned the linux dependencies in the devcontainer Dockerfile](https://g 2. Execute the Dockerfile (e.g. if it's a remote container Dockerfile build the remote container) 3. Run `apt-cache policy ` for each package, to see the version installed 4. Pin all the versions, replacing any old versions with new ones - - -## Ubuntu version - -[Ubuntu releases annually in April](https://wiki.ubuntu.com/Releases). In 2020 the GitHub Actions team [supported the new version by mid June](https://github.com/actions/virtual-environments/issues/228#issuecomment-644065532), so we have [an issue automatically created on for 15th July each year](https://github.com/agilepathway/hoverfly-github-action/pull/55) to prompt us to update. diff --git a/.github/workflows/check-commit-message.yml b/.github/workflows/check-commit-message.yml index a5977e8..e227da2 100644 --- a/.github/workflows/check-commit-message.yml +++ b/.github/workflows/check-commit-message.yml @@ -15,7 +15,7 @@ jobs: check-commit-message-style: if: (github.actor!= 'dependabot[bot]') && (contains(github.head_ref, 'dependabot/github_actions/') == false) name: Check commit message style - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Check uses: mristin/opinionated-commit-message@v2.1.2 diff --git a/.github/workflows/check_semver_labels.yml b/.github/workflows/check_semver_labels.yml index 5f77cae..89133bd 100644 --- a/.github/workflows/check_semver_labels.yml +++ b/.github/workflows/check_semver_labels.yml @@ -13,7 +13,7 @@ jobs: check_semver_label: name: Check for semantic version label - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: docker://agilepathway/pull-request-label-checker:v1.0.9 with: diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index 4eeb9ab..4cec83d 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -10,7 +10,7 @@ jobs: dependabot_hack: name: Ensure dependabot version checks - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: # update the version manually in these places, too: diff --git a/.github/workflows/github_tag_and_release.yml b/.github/workflows/github_tag_and_release.yml index af36fda..268f408 100644 --- a/.github/workflows/github_tag_and_release.yml +++ b/.github/workflows/github_tag_and_release.yml @@ -10,7 +10,7 @@ jobs: tag: name: Tag semantic version - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Tag uses: K-Phoen/semver-release-action@v1.3.1 @@ -23,7 +23,7 @@ jobs: release: needs: tag name: Create GitHub Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 5d9ffe8..9bdcbd0 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -7,7 +7,7 @@ jobs: hadolint: name: runner / hadolint - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v2.3.2 @@ -19,7 +19,7 @@ jobs: yamllint: name: runner / yamllint - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: yamllint @@ -30,7 +30,7 @@ jobs: shellcheck: name: runner / shellcheck - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: shellcheck @@ -44,7 +44,7 @@ jobs: misspell: name: runner / misspell - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - uses: reviewdog/action-misspell@v1.5.0 @@ -54,7 +54,7 @@ jobs: languagetool: name: runner / languagetool - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - uses: reviewdog/action-languagetool@v1.3.0 diff --git a/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml b/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml index 562f60e..4c00d85 100644 --- a/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml +++ b/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml @@ -8,7 +8,7 @@ on: # yamllint disable-line rule:truthy jobs: create_issue: name: Create issue to update Dockerfile dependencies - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: # Repo code checkout required if `template` is used diff --git a/.github/workflows/schedule_ubuntu_annual_update_issue.yml b/.github/workflows/schedule_ubuntu_annual_update_issue.yml deleted file mode 100644 index aaf8592..0000000 --- a/.github/workflows/schedule_ubuntu_annual_update_issue.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: Create issue annually to update Ubuntu -on: # yamllint disable-line rule:truthy - # Scheduled for 2am on 15th July every year - schedule: - - cron: '0 2 15 7 *' # * is a special character in YAML so we have to quote this string - -jobs: - create_issue: - name: Create issue to update Ubuntu - runs-on: ubuntu-20.04 - steps: - - # Repo code checkout required if `template` is used - - name: Checkout - uses: actions/checkout@v2.3.2 - - - name: issue-bot - uses: imjohnbo/issue-bot@v2.3 - with: - assignees: "johnboyes" - labels: "dependencies" - # assignees & labels in the template are overridden by the values specified in this action - template: ".github/ISSUE_TEMPLATE/scheduled/update-ubuntu-version-in-github-actions.md" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3faa342..2de105f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: install_latest_version_by_default: name: Install latest version by default - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: Install Hoverfly @@ -34,7 +34,7 @@ jobs: install_specific_version: name: Install specific version - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: HOVERFLY_VERSION: v1.2.0 steps: @@ -52,7 +52,7 @@ jobs: install_fails_if_version_does_not_begin_with_v: name: Install fails if version does not begin with v - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: HOVERFLY_VERSION: "1.2.0" steps: @@ -70,7 +70,7 @@ jobs: install_fails_if_no_runner_github_workspace_path: name: Install fails when no runner GitHub workspace path provided - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: Install Hoverfly @@ -83,7 +83,7 @@ jobs: install_fails_if_incorrect_runner_github_workspace_path: name: Install fails when incorrect runner GitHub workspace path provided - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: Install Hoverfly @@ -98,7 +98,7 @@ jobs: use_script_to_enable_https_simulations: name: Enable https simulations - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: Install Hoverfly @@ -119,7 +119,7 @@ jobs: https_simulations_do_not_work_without_https_script: name: Verify https simulations will not work without script - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.2 - name: Install Hoverfly