forked from fortran-lang/registry
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (29 loc) · 948 Bytes
/
security_checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Github action to build and verify the fortran packages
#
name: Fortran Package Verification
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4
- uses: fortran-lang/setup-fpm@v5
with:
fpm-version: 'v0.10.2'
github-token: ${{ secrets.GITHUB_TOKEN }}
fpm-repository: https://github.com/henilp105/fpm
- name: Setup Python
uses: actions/setup-python@v5
- name: Install python libraries
run: pip3 install --user -r backend/requirements.txt
- name: temporary folder for fortran packages
run: cd backend/static && mkdir temp
- name: load env file
run: |
echo "${{ secrets.ENV_FILE }}" > backend/.env
- name: validate fortran packages
run: cd backend && python validate.py