Skip to content

Commit b9e4cad

Browse files
committed
chore: workflow runner fixes
- Update format workflows to use ubuntu-22.04 - Enable manual triggering of workflows Fixes #435 Signed-off-by: Michael Warres <mpw@google.com>
1 parent c4d7bb0 commit b9e4cad

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/format.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ on:
3131
schedule:
3232
- cron: '0 0 * * *'
3333

34+
workflow_dispatch:
35+
3436
concurrency:
3537

3638
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
@@ -41,7 +43,7 @@ jobs:
4143
addlicense:
4244
name: verify licenses
4345

44-
runs-on: ubuntu-20.04
46+
runs-on: ubuntu-22.04
4547

4648
steps:
4749
- uses: actions/checkout@v2
@@ -61,7 +63,7 @@ jobs:
6163
buildifier:
6264
name: check format with buildifier
6365

64-
runs-on: ubuntu-20.04
66+
runs-on: ubuntu-22.04
6567

6668
steps:
6769
- uses: actions/checkout@v2
@@ -99,7 +101,7 @@ jobs:
99101
clang_format:
100102
name: check format with clang-format
101103

102-
runs-on: ubuntu-20.04
104+
runs-on: ubuntu-22.04
103105

104106
steps:
105107
- uses: actions/checkout@v2
@@ -115,7 +117,7 @@ jobs:
115117
clang_tidy:
116118
name: check format with clang-tidy
117119

118-
runs-on: ubuntu-20.04
120+
runs-on: ubuntu-22.04
119121

120122
steps:
121123
- uses: actions/checkout@v2

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ on:
3131
schedule:
3232
- cron: '0 0 * * *'
3333

34+
workflow_dispatch:
35+
3436
concurrency:
3537

3638
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}

0 commit comments

Comments
 (0)