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

build(ci): update CI #243

Merged
merged 2 commits into from
Jan 22, 2025
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
branches:
- main

env:
GOPRIVATE: github.com/milkyway-labs
GH_ACCESS_TOKEN: ${{ secrets.GOPRIVATE_ACCESS_TOKEN }}

# Cancel all previous runs of the same workflow when a new one is triggered in the same branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -29,9 +25,6 @@ jobs:
with:
go-version: '1.23'

- name: Setup GOPRIVATE 🛡️
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Compute diff 📜
uses: technote-space/[email protected]
id: git_diff
Expand Down
22 changes: 2 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
- main

env:
GOPRIVATE: github.com/milkyway-labs
GH_ACCESS_TOKEN: ${{ secrets.GOPRIVATE_ACCESS_TOKEN }}

# Cancel all previous runs of the same workflow when a new one is triggered in the same branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -26,9 +22,6 @@ jobs:
- name: Display go version 🛂
run: go version

- name: Setup GOPRIVATE 🛡️
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Install tparse 🔍
run: |
export GO111MODULE="on" && go install github.com/mfridman/[email protected]
Expand All @@ -53,9 +46,6 @@ jobs:
with:
go-version: '1.23'

- name: Setup GOPRIVATE 🛡️
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Compute diff 📜
uses: technote-space/[email protected]
id: git_diff
Expand All @@ -79,9 +69,6 @@ jobs:
with:
go-version: '1.23'

- name: Setup GOPRIVATE 🛡️
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Create a file with all the pkgs 📜
run: go mod tidy && go list ./... > pkgs.txt

Expand Down Expand Up @@ -128,9 +115,6 @@ jobs:
with:
go-version: '1.23'

- name: Setup GOPRIVATE 🛡️
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Compute diff 📜
uses: technote-space/[email protected]
with:
Expand Down Expand Up @@ -219,7 +203,8 @@ jobs:
- name: Upload coverage to Codecov 📤
uses: codecov/codecov-action@v5
with:
file: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
if: env.GIT_DIFF

Test-race:
Expand All @@ -238,9 +223,6 @@ jobs:
with:
go-version: '1.23'

- name: Setup GOPRIVATE 🛡️
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Compute diff 📜
uses: technote-space/[email protected]
with:
Expand Down
Loading