Skip to content

Commit

Permalink
fix: handle removal of files on second checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
dhth committed Aug 3, 2024
1 parent 50ff4b9 commit 6f27a4a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/back-compat-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,20 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
- name: build head
run: go build -o omm_head
run: |
go build -o omm_head
cp omm_head /var/tmp
- uses: actions/checkout@v4
with:
ref: main
- name: build main
run: go build -o omm_main
run: |
go build -o omm_main
cp omm_main /var/tmp
- name: Run last version
run: |
./omm_main --db-path=omm-test.db 'test: a task from main'
/var/tmp/omm_main --db-path=omm-test.db 'test: a task from main'
- name: Run current version
run: |
./omm_head --db-path=omm-test.db 'test: a task from the current version'
./omm_head --db-path=omm-test.db tasks
/var/tmp/omm_head --db-path=omm-test.db 'test: a task from PR HEAD'
/var/tmp/omm_head --db-path=omm-test.db tasks

0 comments on commit 6f27a4a

Please sign in to comment.