Skip to content

Commit 8e97a20

Browse files
authored
Merge pull request #10 from InteractionDesignFoundation/bc-check-ci
Add backward compatibility check on CI
2 parents cb75ab7 + e452fa5 commit 8e97a20

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: [push]
2+
name: Backward compatibility check
3+
4+
jobs:
5+
bc_check:
6+
name: Backward compatibility check
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: fetch tags
12+
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
13+
14+
# User in the container seems to be different from the cloned repo's owner.
15+
# Git doesn't like that as the repo will then be unusable by the owner.
16+
# We don't care about this here since this is only used for running one test.
17+
# See https://github.com/actions/runner/issues/2033
18+
- name: Workaround directory permissions
19+
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
20+
21+
- name: BC Check
22+
uses: docker://nyholm/roave-bc-check-ga

0 commit comments

Comments
 (0)