Switching setup-go action and removing generic cache action.
This commit is contained in:
@@ -40,21 +40,17 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache flarectl and Go dependencies
|
|
||||||
id: cache-flarectl
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/go/pkg/mod
|
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }}
|
|
||||||
|
|
||||||
- name: Setup yq
|
- name: Setup yq
|
||||||
uses: dcarbone/install-yq-action@v1
|
uses: dcarbone/install-yq-action@v1
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
id: setup-go-faster
|
id: setup-go
|
||||||
uses: WillAbides/setup-go-faster@v1.14.0
|
uses: actions/setup-go@v5.2.0
|
||||||
with:
|
with:
|
||||||
go-version: 'stable'
|
go-version: 'stable'
|
||||||
|
check-latest: true
|
||||||
|
cache: true
|
||||||
|
cache-dependency-path: '**/go.sum'
|
||||||
|
|
||||||
- name: Setup jq
|
- name: Setup jq
|
||||||
uses: dcarbone/install-jq-action@v3.0.1
|
uses: dcarbone/install-jq-action@v3.0.1
|
||||||
@@ -85,7 +81,6 @@ jobs:
|
|||||||
- name: Add missing subdomains to Cloudflare
|
- name: Add missing subdomains to Cloudflare
|
||||||
if: steps.compare-subdomains.outputs.output != ''
|
if: steps.compare-subdomains.outputs.output != ''
|
||||||
env:
|
env:
|
||||||
DOCKER_HOST: tcp://dockerproxy:2375
|
|
||||||
CF_API_KEY: ${{ secrets.CF_API_TOKEN }}
|
CF_API_KEY: ${{ secrets.CF_API_TOKEN }}
|
||||||
CF_API_EMAIL: ${{ secrets.CF_API_EMAIL }}
|
CF_API_EMAIL: ${{ secrets.CF_API_EMAIL }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user