Skip to content

Commit

Permalink
Merge branch 'v3' into remove-pat-from-sdk-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pkulik0 authored Aug 8, 2024
2 parents f9435f2 + 8706de4 commit 958d0f1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Cache on default branch
on:
push:
branches:
- v3
- "feature*"

jobs:
go_cache:
name: Install And Cache Go Dependencies and Build Artifacts
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

- name: Add volume files
run: |
touch ./local/vault/approle.json
touch ./local/vault/roleid.txt
touch ./local/vault/vault.env
- name: Build
run: go build ./...
5 changes: 0 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

- name: Add volume files
run: |
touch ./local/vault/approle.json
Expand Down

0 comments on commit 958d0f1

Please sign in to comment.