Ensure the exit code is 0 on success and 1 on error #11
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-License-Identifier: MIT | |
# SPDX-FileCopyrightText: Louis Moureaux <[email protected]> | |
name: Check versions | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: sudo apt-get install curl jq | |
- run: sh check-versions.sh | |