Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(github-runner): fix to use ubuntu-22.04 #324

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/actions-tagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ on:

jobs:
actions-tagger:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: Actions-R-Us/actions-tagger@v2
2 changes: 1 addition & 1 deletion .github/workflows/check-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
check-secret:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
set: ${{ steps.check-secret.outputs.set }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
github-release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set tag name
id: set-tag-name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-sure-label-is-present.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
make-sure-label-is-present:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
result: ${{ steps.make-sure-label-is-present.outputs.result }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-optional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
pre-commit-optional:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
pre-commit:
if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prevent-no-label-execution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
prevent-no-label-execution:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
run: ${{ steps.prevent-no-label-execution.outputs.run }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
semantic-pull-request:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
spell-check-differential:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
sync-files:
needs: check-secret
if: ${{ needs.check-secret.outputs.set == 'true' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-composite-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test-register-autonomoustuff-repository:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:${{ matrix.rosdistro }}
strategy:
fail-fast: false
Expand All @@ -34,7 +34,7 @@ jobs:
rosdep resolve pacmod3_msgs

test-clang-tidy-empty-target:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:${{ matrix.rosdistro }}
strategy:
fail-fast: false
Expand All @@ -53,7 +53,7 @@ jobs:
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy

test-check-file-existence:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
[[ "${{ steps.check-file-existence4.outputs.exists }}" == "true" ]]

test-colcon-build-and-colcon-test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:${{ matrix.rosdistro }}
strategy:
fail-fast: false
Expand All @@ -139,7 +139,7 @@ jobs:
target-packages: empty_target_cmake empty_target_python

test-get-self-packages-and-get-modified-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ${{ matrix.container }}
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
sync-files:
needs: check-secret
if: ${{ needs.check-secret.outputs.set == 'true' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion check-file-existence/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This action checks if the specified files exist.
```yaml
jobs:
check-file-existence:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check file existence
id: check-file-existence
Expand Down
2 changes: 1 addition & 1 deletion clang-tidy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This workflow depends on `colcon-build` action.
```yaml
jobs:
clang-tidy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:galactic
needs: build-and-test
steps:
Expand Down
2 changes: 1 addition & 1 deletion colcon-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
```yaml
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:galactic
steps:
- name: Check out repository
Expand Down Expand Up @@ -41,7 +41,7 @@
| cache-key-element | false | This value is added to the github actions cache key. |
| build-pre-command | false | This command is prepended to the `colcon build` to avoid draining resources. |
| colcon-parallel-workers-flag | false | Will be appended to the colcon build command to limit number of packages built in parallel. e.g. "--parallel-workers 3" |
| makeflags | false | Will be exported as MAKEFLAGS environment variable for colcon build step. e.g. "-j 4" |

Check warning on line 44 in colcon-build/README.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (makeflags)

Check warning on line 44 in colcon-build/README.md

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (MAKEFLAGS)

## Outputs

Expand Down
4 changes: 2 additions & 2 deletions colcon-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Note that you need to build target packages before running this action.
```yaml
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:galactic
steps:
- name: Check out repository
Expand All @@ -30,7 +30,7 @@ jobs:

test:
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:galactic
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion create-prs-to-update-vcs-repositories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ These secrets are already set if inside of the autoware repository.
```yaml
jobs:
sync-files:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion delete-closed-pr-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This action deletes documents of closed pull requests deployed by `deploy-docs`
```yaml
jobs:
delete-closed-pr-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion deploy-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Note that this workflow installs the limited number of plugins that are used in
```yaml
jobs:
deploy-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion generate-changelog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This action generates the changelog using [git-cliff](https://github.com/orhun/g
```yaml
jobs:
generate-changelog:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions get-modified-packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This action get the list of ROS packages modified in the pull request.
```yaml
jobs:
get-modified-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
```yaml
jobs:
get-modified-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set PR fetch depth
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
Expand Down
2 changes: 1 addition & 1 deletion get-self-packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This action gets the list of ROS packages in the repository.
```yaml
jobs:
get-self-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion json-schema-check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This action checks if the ROS 2 parameter files (`config/*.param.yaml`) of packa
```yaml
jobs:
json-schema-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion pre-commit-autoupdate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It uses [peter-evans/create-pull-request](https://github.com/peter-evans/create-
```yaml
jobs:
sync-files:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion pre-commit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Considering the case that you have both `.pre-commit-config.yaml` and `.pre-comm
```yaml
jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion register-autonomoustuff-repository/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This action sets up the prerequisites for [pacmod3_msgs](https://github.com/astu
```yaml
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:galactic
steps:
- name: Check out repository
Expand Down
2 changes: 1 addition & 1 deletion remove-exec-depend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Refer to [here](https://github.com/autowarefoundation/autoware.universe/issues/1
```yaml
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ros:galactic
steps:
- name: Check out repository
Expand Down
2 changes: 1 addition & 1 deletion set-cuda-path/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This action set the CUDA path into GITHUB_ENV amd GITHUB_PATH.
```yaml
jobs:
set-cuda-path:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion set-git-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This action sets several git configs.
```yaml
jobs:
example:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion spell-check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ As it is difficult to perfectly detect all miss spellings, it is recommended not
```yaml
jobs:
spell-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion sync-branches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Note that you need `workflow` permission for the token if you copy workflow file
```yaml
jobs:
sync-branches:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion sync-files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For this action to work properly, the following settings are required in the tar
```yaml
jobs:
sync-files:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
2 changes: 1 addition & 1 deletion update-codeowners-from-packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Note that you need `workflow` permission for the token if you copy workflow file
```yaml
jobs:
update-codeowners-from-packages:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Generate token
id: generate-token
Expand Down
Loading