generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ubuntu-latest in GitHub Actions (#73)
Prior to this commit we had harcoded the Ubuntu version in our GitHub Actions to 20.04, with a GitHub Issue being automatically generated every year to update to the latest version. GitHub Actions only updates every 2 years, it turns out, not ever year, as they only upgrade to LTS versions. GitHub Actions don't support a Cron scheduler in the format that's needed for every 2 years, so have decided to be pragmatic and just use ubuntu-latest.
- Loading branch information
Showing
9 changed files
with
18 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
|
@@ -23,7 +23,7 @@ jobs: | |
release: | ||
needs: tag | ||
name: Create GitHub Release | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
|
@@ -19,7 +19,7 @@ jobs: | |
|
||
yamllint: | ||
name: runner / yamllint | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: yamllint | ||
|
@@ -30,7 +30,7 @@ jobs: | |
|
||
shellcheck: | ||
name: runner / shellcheck | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: shellcheck | ||
|
@@ -44,7 +44,7 @@ jobs: | |
|
||
misspell: | ||
name: runner / misspell | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: reviewdog/[email protected] | ||
|
@@ -54,7 +54,7 @@ jobs: | |
|
||
languagetool: | ||
name: runner / languagetool | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: reviewdog/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- 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/[email protected] | ||
- 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/[email protected] | ||
- 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/[email protected] | ||
- 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/[email protected] | ||
- name: Install Hoverfly | ||
|