Skip to content

Commit 861d8d6

Browse files
committed
chore: add copilot setup steps
1 parent 0753d17 commit 861d8d6

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Copilot Setup Steps
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_call:
6+
push:
7+
paths:
8+
- .github/workflows/copilot-setup-steps.yml
9+
pull_request:
10+
paths:
11+
- .github/workflows/copilot-setup-steps.yml
12+
13+
jobs:
14+
copilot-setup-steps:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version-file: 'go.mod'
24+
25+
- name: Set up Terraform
26+
uses: hashicorp/setup-terraform@v3
27+
28+
- name: Install Task
29+
uses: go-task/setup-task@v1
30+
31+
- name: Install GoReleaser
32+
uses: goreleaser/goreleaser-action@v6
33+
with:
34+
install-only: true
35+
36+
- name: Install Changie
37+
run: go install github.com/miniscruff/changie@latest
38+
39+
- name: golangci-lint
40+
continue-on-error: true
41+
uses: golangci/golangci-lint-action@v3
42+
with:
43+
args: --issues-exit-code=0 --timeout=5m

0 commit comments

Comments
 (0)