update script for building for software.eessi.io (version 2023.06) #56
Workflow file for this run
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
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: Tests for consistency of README.md | |
on: | |
push: | |
paths: | |
- README.md | |
- init/eessi_defaults | |
pull_request: | |
paths: | |
- README.md | |
- init/eessi_defaults | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out software-layer repository | |
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | |
- name: verify if README.md is consistent with EESSI_PILOT_VERSION from init/eessi_defaults | |
run: | | |
source init/eessi_defaults | |
grep "${EESSI_PILOT_VERSION}" README.md | |
- name: verify if README.md is consistent with EESSI_CVMFS_REPO from init/eessi_defaults | |
run: | | |
source init/eessi_defaults | |
grep "${EESSI_CVMFS_REPO}" README.md |