message: Testing new copyright check
diff: @@ -31,7 +31,7 @@ jobs:
  - name: copyright check
  run: |
  cd mfem
  - if git grep -l "^#.*\-2020" > matches.txt
  + if git grep -l "^#.*\(\-2020\|\ 2010,\)" > matches.txt
  then
  echo "Please update the following files to Copyright (c) 2010-2021:"
  cat matches.txt
  @@ -39,6 +39,22 @@ jobs:
  else
  echo "No outdated copyright found."
  fi
  + if git grep -li "^#.*GNU\ Lesser\ General\ Public\ License" > matches.txt
  + then
  + echo "Please update the following files to the BSD-3 license:"
  + cat matches.txt
  + exit 1
  + else
  + echo "No GNU GPL license found."
  + fi
  + if git grep -l "^#.*LLNL\-CODE\-443211" > matches.txt
  + then
  + echo "Please update the following files to LLNL-CODE-806117:"
  + cat matches.txt
  + exit 1
  + else
  + echo "No outdated release number found."
  + fi
  code-style:
  runs-on: ubuntu-16.04 # needed for astyle 2.05.1
  