Skip to content

Commit

Permalink
Disable Go cache for self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 committed Nov 15, 2023
1 parent 93434f7 commit d1dccfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ runs:
uses: actions/setup-go@v4
with:
go-version: 1.21.4
cache: false

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
Expand Down
18 changes: 2 additions & 16 deletions .github/workflows/qe-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,14 @@ jobs:
swap-storage: true
continue-on-error: true

- name: Write temporary docker file
run: |
mkdir -p /home/runner/.docker
touch ${PFLT_DOCKERCONFIG}
echo '{ "auths": {} }' >> ${PFLT_DOCKERCONFIG}
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.21.4

- name: Disable default go problem matcher
run: echo "::remove-matcher owner=go::"
- name: Run initial setup
uses: ./.github/actions/setup

- name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}

- name: Run initial setup
uses: ./.github/actions/setup

- name: Install dependencies
run: |
sudo apt-get update
Expand Down

0 comments on commit d1dccfc

Please sign in to comment.