File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tool linting
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ instance :
7+ description : ' Galaxy Instance URL'
8+ required : true
9+ type : choice
10+ options :
11+ - galaxy-qa1.galaxy.cloud.e-infra.cz
12+ - usegalaxy.cz
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+ strategy :
18+ matrix :
19+ python-version : [3.11]
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+ - name : Set up Python ${{ matrix.python-version }}
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : ${{ matrix.python-version }}
28+ - name : Cache downloads
29+ uses : actions/cache@v4
30+ with :
31+ path : ~/.cache/pip
32+ key : cache-${{ matrix.python-version }}
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
37+ - name : Perform linting
38+ run : |
39+ make INSTANCE=$INSTANCE lint
40+ env :
41+ INSTANCE : ${{ inputs.instance }}
Original file line number Diff line number Diff line change @@ -44,22 +44,14 @@ jobs:
4444 make INSTANCE=$INSTANCE update-all
4545 env :
4646 INSTANCE : ${{ inputs.instance }}
47- # - name: Commit files
48- # run: |
49- # git config --local user.email "github-bot@github.com"
50- # git config --local user.name "github-actions[bot]"
51- # git add *.lock
52- # git commit -m "Updated all tools of $INSTANCE" || true
53- # env:
54- # INSTANCE: ${{ inputs.instance }}
5547 - name : Set output variables
5648 id : vars
5749 run : |
5850 pr_title="Update all tools of $INSTANCE"
5951 {
6052 echo "pr_title=$pr_title"
6153 echo "pr_body<<EOF"
62- echo "ran the following:"
54+ echo "I ran the following:"
6355 echo "- make INSTANCE=$INSTANCE lint"
6456 echo "- make INSTANCE=$INSTANCE fix"
6557 echo "- make INSTANCE=$INSTANCE update-all"
You can’t perform that action at this time.
0 commit comments