Skip to content

Commit

Permalink
HCE-556 Cleanup Auto Release (#130)
Browse files Browse the repository at this point in the history
* cleanup

* Add changelog
  • Loading branch information
itsjaspermilan authored Nov 10, 2022
1 parent 8eb6400 commit 8aff8ba
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
7 changes: 7 additions & 0 deletions .changelog/130.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
Remove redundant caching in Release Workflow
```

```release-note:improvement
Add reminder to add changelog entry in PR template
```
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- Remember to include an entry in the .changelog directory for this PR! More info can be found in the README. -->

### :hammer_and_wrench: Description

<!-- What code changed, and why? If an existing service SDK was updated, what functionality was added? If a new
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
cache: true
go-version-file: 'go.mod'
cache-dependency-path: go.sum

- name: Configure Git
env:
Expand All @@ -34,16 +35,6 @@ jobs:
git config user.name "hashicorp-cloud"
git config user.email "hashicorp-cloud@hashicorp.com"
- name: Cache Go Dependencies
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install Go Binaries
env:
GOPRIVATE: 'github.com/hashicorp/*'
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,7 @@ jobs:
with:
cache: true
go-version-file: 'go.mod'

- name: Cache Go Dependencies
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
cache-dependency-path: go.sum

- name: Install Dependencies
run: |
Expand Down

0 comments on commit 8aff8ba

Please sign in to comment.