Remove redundant code #226
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: "Backwards compatibility" | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
bc-check: | |
name: "Backwards compatibility check" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
# User in the container seems to be different than the cloned repo's owner. | |
# Git doesn't like that as the repo will then be unusable by the owner. | |
# We don't care about this here since this is only used for running one test. | |
# See https://github.com/actions/runner/issues/2033 | |
- name: Workaround directory permissions | |
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig | |
- name: "BC Check" | |
uses: docker://nyholm/roave-bc-check-ga | |
with: | |
args: --from=${{ github.event.pull_request.base.sha }} |