Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

name: Check image links
runs-on: ubuntu-latest
env:
lychee_args: '--no-progress --require-https --cache --max-cache-age 1h --exclude http://www.w3.org'

steps:
- name: Checkout
Expand All @@ -27,20 +29,10 @@ jobs:
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-

# Extract and check URLs directly from tokens.xml
- name: Check tokens.xml URLs
# Extract and check URLs directly from token files
- name: Check token art URLs
uses: lycheeverse/lychee-action@v1
if: always()
with:
args: '--no-progress --require-https --cache --max-cache-age 1h -- tokens.xml'
fail: true
jobSummary: true

# Extract and check URLs directly from challenge_tokens.xml
- name: Check challenge_tokens.xml URLs
uses: lycheeverse/lychee-action@v1
if: always()
with:
args: '--no-progress --require-https --cache --max-cache-age 1h -- challenge_tokens.xml'
args: '${{env.lychee_args}} -- tokens.xml challenge_tokens.xml'
fail: true
jobSummary: true
4 changes: 2 additions & 2 deletions tokens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
We have made a new user-editable file for token modifications.
Currently this file is "TK.xml" and can be found in your customsets directory.
-->
<cockatrice_carddatabase version="4" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v4/cards.xsd">
<cockatrice_carddatabase version="4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v4/cards.xsd">
<info>
<author>Cockatrice/Magic-Token</author>
<createdAt></createdAt>
<sourceUrl>https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml</sourceUrl>
<sourceVersion>20230312</sourceVersion>
<sourceVersion>20230313</sourceVersion>
</info>
<cards>
<!--
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20230312
20230313