Skip to content

Bump codecov/codecov-action from 4.5.0 to 5.0.0 #166

Bump codecov/codecov-action from 4.5.0 to 5.0.0

Bump codecov/codecov-action from 4.5.0 to 5.0.0 #166

Workflow file for this run

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]