actions: fix ci (pinned submodules, outdated test) (#1483)
* musikr: fix outdated musicbrainz id test
Since b85dc561d, songs without artist names take all artist fields
(including MBIDs) from composer tags. The test only set artist MBIDs,
so they were replaced. Give it an artist name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* actions: use pinned submodule commits
--remote made CI build the latest commit of each submodule's branch
instead of the commits pinned in the repository, so a push to the media
fork could break every build regardless of what was being tested.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b8a937e960
commit
83d379d5bb
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Clone submodules
|
- name: Clone submodules
|
||||||
run: git submodule update --init --recursive --remote
|
run: git submodule update --init --recursive
|
||||||
- name: Set up JDK 21
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Clone submodules
|
- name: Clone submodules
|
||||||
run: git submodule update --init --recursive --remote
|
run: git submodule update --init --recursive
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -122,6 +122,9 @@ class TagParserTest {
|
|||||||
mapOf(
|
mapOf(
|
||||||
"TXXX:MUSICBRAINZ RELEASE TRACK ID" to listOf("track-id-123"),
|
"TXXX:MUSICBRAINZ RELEASE TRACK ID" to listOf("track-id-123"),
|
||||||
"TXXX:MUSICBRAINZ ALBUM ID" to listOf("album-id-456"),
|
"TXXX:MUSICBRAINZ ALBUM ID" to listOf("album-id-456"),
|
||||||
|
// Artist MBIDs are only used alongside artist names, otherwise we fall
|
||||||
|
// back to composer tags entirely.
|
||||||
|
"TPE1" to listOf("Artist"),
|
||||||
"TXXX:MUSICBRAINZ ARTIST ID" to listOf("artist-id-789"),
|
"TXXX:MUSICBRAINZ ARTIST ID" to listOf("artist-id-789"),
|
||||||
"TXXX:MUSICBRAINZ ALBUM ARTIST ID" to listOf("album-artist-id-012"),
|
"TXXX:MUSICBRAINZ ALBUM ARTIST ID" to listOf("album-artist-id-012"),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user