22: Fix release r=JoelWachsler a=JoelWachsler



Co-authored-by: Joel Wachsler <JoelWachsler@users.noreply.github.com>
This commit is contained in:
bors[bot] 2022-07-11 15:32:57 +00:00 committed by GitHub
commit ebe2d6c208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 9 deletions

View File

@ -11,7 +11,7 @@ env:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
# Needed for tests to pass
@ -48,7 +48,7 @@ jobs:
args: --workspace --verbose
fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
@ -67,7 +67,7 @@ jobs:
args: --all -- --check
clippy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

View File

@ -12,7 +12,7 @@ jobs:
# Need to have the same name as where this dependency is used,
# otherwise the cache key won't be the same.
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
# build and cache this here in order to reuse it's cache in feature branches

View File

@ -10,7 +10,7 @@ env:
jobs:
tag:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
should_publish: ${{ steps.create-and-push-tag.outputs.should_publish }}
@ -39,7 +39,7 @@ jobs:
echo "The result is: ${{ steps.create-and-push-tag.outputs.should_publish }}"
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: tag
if: ${{ needs.tag.outputs.should_publish == 'true' }}

View File

@ -9,7 +9,7 @@ env:
jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "startsWith(github.ref, 'refs/heads/create_release/')"
@ -51,5 +51,6 @@ jobs:
title: "Create release ${{ steps.vars.outputs.result }}"
commit-message: "Create release ${{ steps.vars.outputs.result }}"
body: "Create release ${{ steps.vars.outputs.result }}"
branch: main
base: main
branch: create_release/${{ steps.vars.outputs.result }}
delete-branch: true

View File

@ -2,5 +2,13 @@ delete_merged_branches = true
update_base_for_deletes = true
status = [
"test"
"test",
"fmt",
"clippy",
]
pr_status = [
"test",
"fmt",
"clippy",
]