mirror of
https://github.com/kopia/kopia.git
synced 2026-01-28 08:18:58 -05:00
33 lines
739 B
YAML
33 lines
739 B
YAML
name: Compatibility Test
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
tags:
|
|
- v*
|
|
pull_request: {}
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
compat-test:
|
|
name: Compat Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go.
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '1.18'
|
|
id: go
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Compat Test
|
|
run: make compat-tests
|
|
- name: Upload Logs
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: logs
|
|
path: .logs/**/*.log
|
|
if-no-files-found: ignore
|
|
if: ${{ always() }} |