-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjustments and new features include: - Improved configuration management system - Improved instrumentation and add error reporting - Improved "resolver" implementation - Upgrade gRPC and several other dependencies
- Loading branch information
Showing
27 changed files
with
1,817 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,15 +30,24 @@ jobs: | |
GITHUB_USER: ${{ github.actor }} | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
|
||
# Get commit message | ||
- name: Get commit message | ||
run: | | ||
echo 'commit_msg<<EOF' >> $GITHUB_ENV | ||
git log --format=%B -n 1 ${{ github.sha }} >> $GITHUB_ENV | ||
echo 'EOF' >> $GITHUB_ENV | ||
# List direct dependencies | ||
- name: List dependencies | ||
run: go list -mod=readonly -f '{{if not .Indirect}}{{.}}{{end}}' -m all > go.list | ||
|
||
# Scan dependencies using Nancy | ||
# Can be excluded if the commit message contains: [scan-deps skip] | ||
# https://github.com/sonatype-nexus-community/nancy-github-action | ||
- name: Scan dependencies | ||
if: ${{ !contains(env.commit_msg, '[scan-deps skip]') }} | ||
uses: sonatype-nexus-community/[email protected] | ||
|
||
# Validate the protocol buffer definitions on the project | ||
# using 'buf'. Remove if not required. | ||
protos: | ||
|
@@ -73,21 +82,21 @@ jobs: | |
# Setup buf | ||
- name: Setup buf | ||
id: buf-setup | ||
uses: bufbuild/buf-setup-action@v1.5.0 | ||
uses: bufbuild/buf-setup-action@v1.6.0 | ||
with: | ||
version: 1.5.0 | ||
github_token: ${{ github.token }} | ||
|
||
# Static analysis | ||
- name: Static analysis | ||
id: buf-lint | ||
uses: bufbuild/[email protected].0 | ||
uses: bufbuild/[email protected].1 | ||
if: ${{ steps.buf-setup.outcome == 'success' }} | ||
|
||
# Detect breaking changes | ||
- name: Detect breaking changes | ||
id: buf-breaking | ||
uses: bufbuild/buf-breaking-action@v1.0.0 | ||
uses: bufbuild/buf-breaking-action@v1.1.0 | ||
if: steps.buf-lint.outcome == 'success' && !contains(env.commit_msg, '[buf-breaking skip]') | ||
with: | ||
against: 'https://github.com/${{ github.repository }}.git#branch=master' | ||
|
@@ -129,7 +138,7 @@ jobs: | |
# if: steps.vendor-cache.outputs.cache-hit != 'true' | ||
- name: Restore modules from cache | ||
id: vendor-cache | ||
uses: actions/cache@v3.0.2 | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: vendor | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.