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

View File

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

View File

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

View File

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

View File

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