mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 18:42:26 -04:00
Remove `check-latest: true`. No longer needed with actions/setup-go@v6 Add category to OSSF workflow SARIF artifact Cleanup parameters for govulncheck
33 lines
851 B
YAML
33 lines
851 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: Check out repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up Go
|
|
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- name: Compat Test
|
|
run: make compat-tests
|
|
- name: Upload Logs
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: logs
|
|
path: .logs/**/*.log
|
|
if-no-files-found: ignore
|
|
if: ${{ always() }}
|