Skip to content

Commit 104849b

Browse files
mikeeeyaron2
andauthored
chore: remove gopkg / cleanup repo (#1415)
* chore: remove gopkg Signed-off-by: mikeee <[email protected]> * chore: upgrade actions versions and remove explicit caching steps Signed-off-by: mikeee <[email protected]> --------- Signed-off-by: mikeee <[email protected]> Co-authored-by: Yaron Schneider <[email protected]>
1 parent 17f4785 commit 104849b

11 files changed

+16
-1140
lines changed

.github/workflows/dapr_cli.yaml

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -73,42 +73,12 @@ jobs:
7373
echo "GOBIN=$HOME/bin" >> $GITHUB_ENV
7474
mkdir -p $HOME/bin
7575
- name: Check out code into the Go module directory
76-
uses: actions/checkout@v3
76+
uses: actions/checkout@v4
7777
- name: Set up Go
78-
uses: actions/setup-go@v3
78+
uses: actions/setup-go@v5
7979
id: setup-go
8080
with:
8181
go-version-file: 'go.mod'
82-
- name: Cache Go modules (Linux)
83-
if: matrix.target_os == 'linux'
84-
uses: actions/cache@v3
85-
with:
86-
path: |
87-
~/.cache/go-build
88-
~/go/pkg/mod
89-
key: ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
90-
restore-keys: |
91-
${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
92-
- name: Cache Go modules (Windows)
93-
if: matrix.target_os == 'windows'
94-
uses: actions/cache@v3
95-
with:
96-
path: |
97-
~\AppData\Local\go-build
98-
~\go\pkg\mod
99-
key: ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
100-
restore-keys: |
101-
${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
102-
- name: Cache Go modules (macOS)
103-
if: matrix.target_os == 'darwin'
104-
uses: actions/cache@v3
105-
with:
106-
path: |
107-
~/Library/Caches/go-build
108-
~/go/pkg/mod
109-
key: ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
110-
restore-keys: |
111-
${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
11282
- name: Run golangci-lint
11383
if: matrix.target_arch == 'amd64' && matrix.target_os == 'linux'
11484
uses: golangci/[email protected]
@@ -203,7 +173,7 @@ jobs:
203173
runs-on: windows-latest
204174
steps:
205175
- name: Check out code
206-
uses: actions/checkout@v3
176+
uses: actions/checkout@v4
207177
- name: Parse release version and set REL_VERSION
208178
run: python ./.github/scripts/get_release_version.py
209179
- name: Update winget manifests

.github/workflows/dev_container_feature_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
pull-requests: write
1212
packages: write
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: "Publish Features"
1717
uses: devcontainers/action@v1

.github/workflows/dev_container_feature_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- ubuntu:latest
2323
- mcr.microsoft.com/devcontainers/base:ubuntu
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- name: "Install latest devcontainer CLI"
2828
run: npm install -g @devcontainers/cli
@@ -39,7 +39,7 @@ jobs:
3939
features:
4040
- dapr-cli
4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343

4444
- name: "Install latest devcontainer CLI"
4545
run: npm install -g @devcontainers/cli
@@ -52,7 +52,7 @@ jobs:
5252
runs-on: ubuntu-latest
5353
continue-on-error: true
5454
steps:
55-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5656

5757
- name: "Install latest devcontainer CLI"
5858
run: npm install -g @devcontainers/cli

.github/workflows/dev_container_feature_validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
validate:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

1414
- name: "Validate devcontainer-feature.json files"
1515
uses: devcontainers/action@v1

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a push-only token that is safe to be exposed.
3535
steps:
3636
- name: "Checkout code"
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838

3939
- name: "Run FOSSA Scan"
4040
uses: fossas/[email protected] # Use a specific version if locking is preferred

.github/workflows/installdaprwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242

4343
# Install Dapr
4444
- name: Install DAPR CLI

.github/workflows/kind_e2e.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,23 +79,14 @@ jobs:
7979
kind-image-sha: sha256:9be91e9e9cdf116809841fc77ebdb8845443c4c72fe5218f3ae9eb57fdb4bace
8080
steps:
8181
- name: Check out code onto GOPATH
82-
uses: actions/checkout@v3
82+
uses: actions/checkout@v4
8383
with:
8484
path: ./src/github.com/dapr/cli
8585
- name: Set up Go
86-
uses: actions/setup-go@v3
86+
uses: actions/setup-go@v5
8787
id: setup-go
8888
with:
8989
go-version-file: './src/github.com/dapr/cli/go.mod'
90-
- name: Cache Go modules
91-
uses: actions/cache@v3
92-
with:
93-
path: |
94-
~/.cache/go-build
95-
~/go/pkg/mod
96-
key: ${{ matrix.k8s-version }}-${{ matrix.kind-version }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
97-
restore-keys: |
98-
${{ matrix.k8s-version }}-${{ matrix.kind-version }}-go-${{ steps.setup-go.outputs.go-version }}-
9990

10091
- name: Configure KinD
10192
# Generate a KinD configuration file that uses:

.github/workflows/self_hosted_e2e.yaml

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -72,42 +72,12 @@ jobs:
7272
echo "GOBIN=$HOME/bin" >> $GITHUB_ENV
7373
mkdir -p $HOME/bin
7474
- name: Check out code into the Go module directory
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676
- name: Set up Go
77-
uses: actions/setup-go@v3
77+
uses: actions/setup-go@v5
7878
id: setup-go
7979
with:
8080
go-version-file: "go.mod"
81-
- name: Cache Go modules (Linux)
82-
if: matrix.target_os == 'linux'
83-
uses: actions/cache@v3
84-
with:
85-
path: |
86-
~/.cache/go-build
87-
~/go/pkg/mod
88-
key: ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
89-
restore-keys: |
90-
${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
91-
- name: Cache Go modules (Windows)
92-
if: matrix.target_os == 'windows'
93-
uses: actions/cache@v3
94-
with:
95-
path: |
96-
~\AppData\Local\go-build
97-
~\go\pkg\mod
98-
key: ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
99-
restore-keys: |
100-
${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
101-
- name: Cache Go modules (macOS)
102-
if: matrix.target_os == 'darwin'
103-
uses: actions/cache@v3
104-
with:
105-
path: |
106-
~/Library/Caches/go-build
107-
~/go/pkg/mod
108-
key: ${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
109-
restore-keys: |
110-
${{ matrix.target_os }}-${{ matrix.target_arch }}-go-${{ steps.setup-go.outputs.go-version }}-
11181
- name: Install podman - MacOS
11282
timeout-minutes: 15
11383
if: matrix.os == 'macos-latest-large' && matrix.dapr_install_mode == 'complete'

.github/workflows/upgrade_e2e.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,14 @@ jobs:
7474
kind-image-sha: sha256:9be91e9e9cdf116809841fc77ebdb8845443c4c72fe5218f3ae9eb57fdb4bace
7575
steps:
7676
- name: Check out code onto GOPATH
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878
with:
7979
path: ./src/github.com/dapr/cli
8080
- name: Set up Go
81-
uses: actions/setup-go@v3
81+
uses: actions/setup-go@v5
8282
id: setup-go
8383
with:
8484
go-version-file: './src/github.com/dapr/cli/go.mod'
85-
- name: Cache Go modules
86-
uses: actions/cache@v3
87-
with:
88-
path: |
89-
~/.cache/go-build
90-
~/go/pkg/mod
91-
key: ${{ matrix.k8s-version }}-${{ matrix.kind-version }}-go-${{ steps.setup-go.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
92-
restore-keys: |
93-
${{ matrix.k8s-version }}-${{ matrix.kind-version }}-go-${{ steps.setup-go.outputs.go-version }}-
94-
9585

9686
- name: Configure KinD
9787
# Generate a KinD configuration file that uses:

0 commit comments

Comments
 (0)