on master help sign in
wip
0d15458iko
.github/workflows/github-actions-image.yaml+2−2
@@ -42,7 +42,7 @@ jobs:
42 - name: Check library version
42 - name: Check library version
43 if: github.event_name == 'release'
43 if: github.event_name == 'release'
44 run: |
44 run: |
45− if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "0.0.0.1" ]; then
45+ if [ "$(awk -F ':' '/^version/ {gsub(/ /, "", $2); print $2}' compaREST.cabal)" != "${{ github.event.release.tag_name }}" ]; then
46 echo "::error file=compaREST.cabal::Library version does not match release version."
46 echo "::error file=compaREST.cabal::Library version does not match release version."
47 exit 1
47 exit 1
48 fi
48 fi
@@ -50,7 +50,7 @@ jobs:
50 - name: Check docker tag
50 - name: Check docker tag
51 if: github.event_name == 'release'
51 if: github.event_name == 'release'
52 run: |
52 run: |
53− if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "latet" ]; then
53+ if [ "$(yq eval '.runs.image' action.yaml | awk -F ':' '{print $NF}')" != "${{ github.event.release.tag_name }}" ]; then
54 echo "::error file=action.yaml::Action docker tag does not match release tag."
54 echo "::error file=action.yaml::Action docker tag does not match release tag."
55 exit 1
55 exit 1
56 fi
56 fi
policeman.json+3−1
@@ -1,5 +1,7 @@
1[{
1[{
2 "file": "compaREST.cabal",
2 "file": "compaREST.cabal",
3 "title": "👮 Policeman",
3 "title": "👮 Policeman",
4− "annotation_level": "notice"
4+ "annotation_level": "notice",
5+ "start-line": 0,
6+ "end_lins": 0
5}]
7}]