Skip to content

Commit

Permalink
Merge pull request #1053 from camptocamp/update-ubuntu
Browse files Browse the repository at this point in the history
Update the used Ubuntu version to 22.04 in the workflows
  • Loading branch information
sbrunner authored Mar 23, 2023
2 parents a5f95e6 + 7ebb389 commit 3e94d32
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
auto-merge:
name: Auto reviews updates
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Backport

on:
Expand All @@ -12,7 +11,7 @@ env:

jobs:
backport:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Backport
timeout-minutes: 5

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Clean docker hub tags

on:
Expand All @@ -9,7 +8,7 @@ on:

jobs:
clean:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Clean docker hub tags
timeout-minutes: 5

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: CodeQL scanning

on:
Expand All @@ -10,7 +9,7 @@ env:
jobs:
codeql:
name: CodeQL scanning
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 20

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-old-workflows-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 25
name: Delete old workflow runs

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
main:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Continuous integration
timeout-minutes: 15
if: "!startsWith(github.event.head_commit.message, '[skip ci] ')"
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
cd example-project/
GITHUB_REPOSITORY=camptocamp/project make build
GITHUB_REPOSITORY=camptocamp/project make checks
# Rebuild the right image
# Rebuild the right image
- name: Build
run: make build

Expand All @@ -69,7 +69,7 @@ jobs:
env.HAS_SECRETS == 'HAS_SECRETS'
k8s:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Kubernetes
timeout-minutes: 20
if: "!startsWith(github.event.head_commit.message, '[skip ci] ')"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
name: Pull request check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 5

steps:
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
hooks:
- id: prettier
additional_dependencies:
- prettier@2.8.4

0 comments on commit 3e94d32

Please sign in to comment.