Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(go-cache): moved dependency compiling to before the #157

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Exceptions are acceptable depending on the circumstances (critical bug fixes tha
- changed `docker.yaml` Azure's Golang delivery stage to use global `docker.yaml` template and remove unnecessary execution of `./config.sh` script since it's already done by the `go1.23.4.yaml` template
- changed `docker.yaml` Azure's Javascript delivery stage to use global `docker.yaml` template since it was being repeated
- changed cache strategy for JS projects using Azure DevOps pipelines
- changed `go1.23.4.yaml` to compile the dependencies files before search for cache

### Fixed

Expand Down
12 changes: 6 additions & 6 deletions azure-devops/golang/abstracts/go1.23.4.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
steps:
- task: 'GoTool@0'
inputs:
version: '1.23.4'
architecture: 'amd64'
goArguments: 'mod tidy'

- task: 'Cache@2'
inputs:
key: "$(Agent.JobName)|$(Agent.OS)|go.sum"
Expand All @@ -9,9 +15,3 @@ steps:
- template: '../../global/abstracts/scripts-repo.yaml'
- script: $(Scripts.Directory)/global/scripts/golang/init/run.sh
displayName: 'Load Custom Configuration'

- task: 'GoTool@0'
inputs:
version: '1.23.4'
architecture: 'amd64'
goArguments: 'mod tidy'