Updated edit co insured to octopus async await to use async await #2275
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SwiftFormat | |
on: | |
pull_request: | |
branches: ["*"] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: 5.8 | |
- name: Cache | |
uses: actions/cache@v2 | |
with: | |
path: build | |
key: ${{ runner.os }} | |
- name: Install Swift-Format | |
run: scripts/install-swift-format.sh | |
- name: Format | |
run: scripts/format-ci.sh | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: "Formatting" | |
title: "Formatting: ${{ github.head_ref }}" | |
body: "@${{ github.event.pull_request.user.login }} swift-format found changes that should be applied to your branch" | |
branch: "formatting/${{ github.head_ref }}" | |
base: ${{ github.head_ref }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |