Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vendors #244

Merged
merged 2 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ jobs:

strategy:
matrix:
go: ['1.19', '1.20']
go: ['1.20', '1.21']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true

- name: Install dependencies
run: go mod vendor

- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
Expand All @@ -34,7 +36,7 @@ jobs:

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: matrix.go == '1.20'
if: matrix.go == '1.21'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
Expand All @@ -44,7 +46,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: nosborn/[email protected]
with:
Expand All @@ -65,4 +67,4 @@ jobs:
workdir: ./doc/
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: warning
level: warning
24 changes: 9 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
version: ${{ steps.tag.outputs.tag }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '^1.19'
go-version: '^1.21'

- name: Tag
id: tag
Expand All @@ -33,28 +33,22 @@ jobs:
needs: [tag]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '^1.19'
go-version: '^1.21'

- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod vendor

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
30 changes: 0 additions & 30 deletions vendor/github.com/K-Phoen/sdk/.gitignore

This file was deleted.

201 changes: 0 additions & 201 deletions vendor/github.com/K-Phoen/sdk/LICENSE

This file was deleted.

Loading
Loading