Bump codecov/codecov-action from 4.5.0 to 5.1.1 #170
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: Formatting and Snippets | |
on: | |
push: | |
jobs: | |
format_and_snippets: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/approval_tests | |
steps: | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v4 | |
- name: ✏️ Create mdsnippets.json | |
run: | | |
echo '{ | |
"$schema": "https://raw.githubusercontent.com/SimonCropp/MarkdownSnippets/master/schema.json", | |
"Convention": "InPlaceOverwrite", | |
"TocLevel": 5 | |
}' > ${GITHUB_WORKSPACE}/mdsnippets.json | |
shell: bash | |
- name: ♻️ Run MarkdownSnippets | |
run: | | |
dotnet tool install --global MarkdownSnippets.Tool | |
mdsnippets ${GITHUB_WORKSPACE} | |
shell: bash | |
- name: ⬆️ Git Commit and Push | |
uses: github-actions-x/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
commit-message: ". d updated markdown snippets" | |
rebase: 'true' | |
push-branch: 'main' | |
name: github actions | |
email: [email protected] |