Skip to content

Commit

Permalink
Set BETTERSTACK_TOKEN in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodicaprio committed Jan 22, 2024
1 parent a37c96f commit 5e43be2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
check-latest: true
- name: Benchmark
run: |
BETTERSTACK_TOKEN=${{ secrets.BETTERSTACK_TOKEN }}
curl -sL https://github.com/${GITHUB_REPOSITORY}/raw/master/README.md | \
awk '{if($0 ~ "// go test -v"){a=1;b=1};if($0 ~ "```" && b=1){b=0};if (a&&b) {print}}' | \
tee log_test.go
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
steps:
- name: Build
run: |
BETTERSTACK_TOKEN=${{ secrets.BETTERSTACK_TOKEN }}
git clone --depth=1 https://github.com/${GITHUB_REPOSITORY}
cd $(basename ${GITHUB_REPOSITORY})
go build -v -race
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
steps:
- name: Lint
run: |
BETTERSTACK_TOKEN=${{ secrets.BETTERSTACK_TOKEN }}
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2
git clone --depth=1 https://github.com/${GITHUB_REPOSITORY}
cd $(basename ${GITHUB_REPOSITORY})
Expand Down

0 comments on commit 5e43be2

Please sign in to comment.