Fix ci to checkout tags correctly

13 jobs for v0.4.0-alpha.1 in 29 minutes and 52 seconds (queued for 2 seconds)
latest
Status Name Job ID Coverage
  Build
passed dynamic-release:linux:amd64 #11429

00:06:22

passed dynamic-release:linux:arm #11431
arm64

00:21:26

passed dynamic-release:linux:arm64 #11430
arm64

00:22:06

passed dynamic-release:macos:amd64 #11432
macos-0.4-amd64

00:03:08

passed dynamic-release:windows:amd64 #11439
windows-amd64

00:14:17

passed static-release:linux:amd64 #11427

00:06:48

passed static-release:linux:arm64 #11428
arm64

00:21:15

failed dynamic-release:windows:amd64 #11433
windows-amd64

00:04:55

 
  Test
passed test-dynamic-release:linux:amd64 #11436

00:02:21

passed test-dynamic-release:linux:arm64 #11437
arm64

00:04:22

passed test-dynamic-release:macos:amd64 #11438
macos-0.4-amd64

00:01:38

passed test-static-release:linux:amd64 #11434

00:01:56

passed test-static-release:linux:arm64 #11435
arm64

00:04:59