Skip to content

Commit

Permalink
Merge pull request #244 from K-Phoen/remove-vendors
Browse files Browse the repository at this point in the history
Remove vendors
  • Loading branch information
K-Phoen authored Dec 22, 2023
2 parents 6657742 + be8a32a commit 2ba4565
Show file tree
Hide file tree
Showing 577 changed files with 18 additions and 196,622 deletions.
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/github-action-markdown-cli@v3.2.0
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

0 comments on commit 2ba4565

Please sign in to comment.