Skip to content

Commit

Permalink
build(deps): bump versions in release workflow (#347)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump versions in release workflow

* build(deps-dev): bump versions in tests workflow

Leaving linting alone for the time being

* build: extend timeout on tests to 20m (matches the GitHub action)
  • Loading branch information
onematchfox authored Nov 10, 2023
1 parent 59d77b6 commit b42b922
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.19

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v2
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
id: go
Expand Down Expand Up @@ -51,10 +51,10 @@ jobs:
argocd_version: ["v2.6.15", "v2.7.14", "v2.8.3"]
steps:
- name: Check out code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
check-latest: true
Expand All @@ -64,9 +64,9 @@ jobs:
curl -sL "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
chmod +x ./kustomize
- name: Install Kind 0.11.1
- name: Install Kind 0.20.0
run: |
curl -sLo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-$(uname)-amd64
curl -sLo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-$(uname)-amd64
chmod +x ./kind
- name: Set up ArgoCD ${{ matrix.argocd_version }}
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test:
go test -v -cover -timeout=120s -parallel=4 ./...

testacc:
TF_ACC=1 go test -v -cover -timeout 15m ./...
TF_ACC=1 go test -v -cover -timeout 20m ./...

testacc_clean_env:
kind delete cluster --name argocd
Expand Down

0 comments on commit b42b922

Please sign in to comment.