Merge pull request #10 from serokell/martoon/checkout-v4 #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/> | |
# | |
# SPDX-License-Identifier: MPL-2.0 | |
name: CI | |
# Trigger the workflow on pull request or push to the master branch | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
reuse: | |
name: REUSE Compliance Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: fsfe/[email protected] | |
xrefcheck-self: | |
name: Run this action on this repo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: No args, latest version is assumed | |
uses: ./ | |
- name: Only install | |
uses: ./ | |
with: | |
action: install | |
- name: Run with custom arguments | |
uses: ./ | |
with: | |
xrefcheck-args: --mode local-only --progress | |
# Run specific versions | |
- name: Run 0.1.2 | |
uses: ./ | |
with: | |
xrefcheck-version: 0.1.2 | |
- name: Run 0.1.3 | |
uses: ./ | |
with: | |
xrefcheck-version: 0.1.3 | |
- name: Run 0.2 | |
uses: ./ | |
with: | |
xrefcheck-version: 0.2 | |
- name: Run 0.2.1 | |
uses: ./ | |
with: | |
xrefcheck-version: 0.2.1 | |
- name: Run 0.2.2 | |
uses: ./ | |
with: | |
xrefcheck-version: 0.2.2 |