Skip to content

Commit

Permalink
chore(attach-artifact-release.yml): remove installation of upx packag…
Browse files Browse the repository at this point in the history
…e as it is no longer needed

chore(config.yaml): update pace labels in planConfig to improve readability and understanding
chore(plan.go): update running pace labels in printPaces function to improve clarity and comprehension
  • Loading branch information
jandroav committed Dec 10, 2023
1 parent 176dbdc commit 9e0a79a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/attach-artifact-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install upx
run: |
sudo apt-get update
sudo apt-get install upx
- name: Setup Go
uses: actions/setup-go@v3
with:
Expand Down
16 changes: 8 additions & 8 deletions pkg/common/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ planConfig:
km-21: 81k
s2:
c1-42: 3S + 6U + 16S + 2 X 3U C/DESC 2 MIN + 3S (34k)
c2-42: 3S + 6 X 1L + 4 X 400 R C/3 MIN S + 3S (14k)
c2-42: 3S + 6 X 1I + 4 X 400 R C/3 MIN S + 3S (14k)
c1-21: 3S + 3U + 6S + 2 X 2U C/DESC 2 MIN + 3S (19k)
c2-21: 3S + 3 X 1L + 4 X 400 R C/3 MIN S + 3S (11k)
c2-21: 3S + 3 X 1I + 4 X 400 R C/3 MIN S + 3S (11k)
km-42: 148k
km-21: 75k
s3:
Expand All @@ -29,9 +29,9 @@ planConfig:
km-21: 83k
s5:
c1-42: 3S + 6U + 16S + 6U + 3S (34k)
c2-42: 3S + 3 X 2L C/4 MIN S + 3 X 1L C/2 MIN S + 3S (15k)
c2-42: 3S + 3 X 2I C/4 MIN S + 3 X 1I C/2 MIN S + 3S (15k)
c1-21: 3S + 3U + 8S + 3U + 2S (19k)
c2-21: 3S + 3 X 2 L C/4 MIN S + 3 X 1L C/2 MIN S + 3S (15k)
c2-21: 3S + 3 X 2 I C/4 MIN S + 3 X 1I C/2 MIN S + 3S (15k)
km-42: 149k
km-21: 79k
s6:
Expand All @@ -50,16 +50,16 @@ planConfig:
km-21: 75k
s8:
c1-42: 3S + 6U + 16S + 2 X 3U C/DESC 2 MIN + 3S (34k)
c2-42: 3S + 6 X 1L C/2 MIN S + 4 X 400 R C/400 TR + 3 MIN S (12k)
c2-42: 3S + 6 X 1I C/2 MIN S + 4 X 400 R C/400 S + 3 MIN S (12k)
c1-21: 3S + 3U + 7S + 2 X 2U C/DESC 2 MIN + 2S (19k)
c2-21: 3S + 5 X 1L C/2 MIN S + 4 X 400 R C/400 TR + 3 MIN S (11k)
c2-21: 3S + 5 X 1I C/2 MIN S + 4 X 400 R C/400 S + 3 MIN S (11k)
km-42: 146k
km-21: 75k
s9:
c1-42: 35S (35k)
c2-42: 3S + 3 X 2U C/1 MIN S + 3 X 1L C/2 MIN S + 3 X 400 R C/400 TR + 3S (16k)
c2-42: 3S + 3 X 2U C/1 MIN S + 3 X 1I C/2 MIN S + 3 X 400 R C/400 S + 3S (16k)
c1-21: 18S (18k)
c2-21: 3S + 3 X 2U C/1 MIN S + 3 X 1L C/2 MIN S + 3 X 400 R C/400 TR + 3S (16k)
c2-21: 3S + 3 X 2U C/1 MIN S + 3 X 1I C/2 MIN S + 3 X 400 R C/400 S + 3S (16k)
km-42: 151k
km-21: 79k
s10:
Expand Down
12 changes: 5 additions & 7 deletions pkg/plan/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,9 @@ func printPaces(distance string, raceTime string) {
runningPaces := calculateTrainingPaces(vdot)
fmt.Println(color.Colorize(color.Green, "\nVDOT: "+strconv.Itoa(vdot)))
fmt.Println(color.Colorize(color.Yellow, "Ritmos de entrenamiento"))
fmt.Println(color.Colorize(color.Yellow, "Suave: "+runningPaces["Suave"]))
fmt.Println(color.Colorize(color.Yellow, "Ritmo Maratón: "+runningPaces["Ritmo Maraton"]))
fmt.Println(color.Colorize(color.Yellow, "Umbral: "+runningPaces["Umbral"]))
fmt.Println(color.Colorize(color.Yellow, "Intervalo: "+runningPaces["Interval"]))
fmt.Println(color.Colorize(color.Yellow, "Repetición (Ritmo 400m): "+runningPaces["Repeticion"]))
fmt.Println(color.Colorize(color.Yellow, "(S) Suave: "+runningPaces["Suave"]))
fmt.Println(color.Colorize(color.Yellow, "(M) Ritmo Maratón: "+runningPaces["Ritmo Maraton"]))
fmt.Println(color.Colorize(color.Yellow, "(U) Umbral: "+runningPaces["Umbral"]))
fmt.Println(color.Colorize(color.Yellow, "(I) Intervalo: "+runningPaces["Interval"]))
fmt.Println(color.Colorize(color.Yellow, "(R) Repetición (Ritmo 400m): "+runningPaces["Repeticion"]))
}


0 comments on commit 9e0a79a

Please sign in to comment.