Commit 5b58274 1 parent da0527e commit 5b58274 Copy full SHA for 5b58274
File tree 1 file changed +4
-17
lines changed
1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -33,26 +33,13 @@ jobs:
33
33
pip install '.[test]'
34
34
35
35
- name : Linting
36
- uses : YaoYinYing/pylint-github-action@b2d380e8ed4c41d56b38ce857f9be22c475d8122
36
+ uses : YaoYinYing/pylint-github-action@3975648a269de4f22403ff78ec53736dba2206c2
37
37
with :
38
38
lint-path : src # lint src package
39
39
python-version : ${{ env.lint-python-version }} # python version which will lint the package
40
40
badge-text : pylint score
41
41
badge-file-name : pylint_scan
42
42
badge-artifact-name : upload-my-awesome-badge-${{ github.run_id }}
43
-
44
- - name : PyLint Badge Fetching
45
- id : pylint-badge-fetch
46
- uses : actions/download-artifact@v4
47
- with :
48
- name : upload-my-awesome-badge-${{ github.run_id }}
49
- path : badge_dir_with_uniq_name
50
-
51
- - name : Display structure of downloaded files
52
- run : ls -R badge_dir_with_uniq_name
53
-
54
- - name : Upload to R2
55
- uses : cloudflare/wrangler-action@v3
56
- with :
57
- apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
58
- command : r2 object put ${{ secrets.R2_BUCKET }}/badge_dir_with_uniq_name/RosettaPy/pylint/pylint_scan.svg --file badge_dir_with_uniq_name/pylint_scan.svg --content-type image/svg+xml
43
+ CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
44
+ R2_BUCKET : ${{ secrets.R2_BUCKET }}
45
+ R2_badge_path : badge_dir_with_uniq_name/RosettaPy/pylint
You can’t perform that action at this time.
0 commit comments