mirror of
https://github.com/kopia/kopia.git
synced 2026-01-27 07:48:06 -05:00
* content: fixed repo upgrade version Previously upgrade would enable epoch manager and index v2 but would not set the version of the format itself. Everything worked fine but it would not protect from old kopia opening the repository. * ci: added compatibility test that uses real 0.8 and current binaries
30 lines
647 B
YAML
30 lines
647 B
YAML
name: Compatibility Test
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
tags:
|
|
- v*
|
|
pull_request: {}
|
|
jobs:
|
|
compat-test:
|
|
name: Compat Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go.
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.17
|
|
id: go
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Compat Test
|
|
run: make compat-tests
|
|
- name: Upload Logs
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: logs
|
|
path: .logs/**/*.log
|
|
if-no-files-found: ignore
|
|
if: ${{ always() }} |