Files
kopia/.github/workflows/compat-test.yml
Jarek Kowalski ebd8f113c6 chore(ci): set golang version explicitly to 1.18 (#1952)
We were unintentionally doing that because ^1.17 was pulling 1.18.x
2022-05-16 11:55:04 -07:00

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() }}