-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* asdf support take 1 * asdf support take 2 * Added asdf support * whoops * add shell * Added stdin token * registry login * both need to be on asdf-support * asdf all the things * infer tool versions * bash of course * blah * fixed mockery versioning * forced rename based on mockery issue * golang ci lint version * no dash * reorganize and simplify * use posix space * version and not buf_version * update to v4 * all to asdf support * v4 of download artifact * move to v0 tag
- Loading branch information
Showing
14 changed files
with
46 additions
and
22 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,16 +20,23 @@ runs: | |
using: "composite" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: ${{ inputs.FETCH_DEPTH }} | ||
- name: Setting up private modules access | ||
shell: bash | ||
run: git config --global url."https://${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }}:[email protected]/wishabi".insteadOf "https://github.com/wishabi" | ||
- name: Grab buf version | ||
if: ${{ hashFiles('.tool-versions') != '' }} | ||
run: | | ||
BUF_VERSION=$(awk '/^buf[[:space:]]+/ {print $2}' .tool-versions) | ||
echo "BUF_VERSION=${BUF_VERSION}" >> $GITHUB_ENV | ||
shell: bash | ||
- name: Setting up buf | ||
uses: bufbuild/buf-setup-action@v1 | ||
if: "${{ inputs.BUF_BUILD_API_TOKEN != '' }}" | ||
with: | ||
github_token: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }} | ||
buf_user: ${{ inputs.BUF_BUILD_USER }} | ||
buf_api_token: ${{ inputs.BUF_BUILD_API_TOKEN }} | ||
version: ${{ env.BUF_VERSION }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,12 +58,18 @@ runs: | |
- name: Setup safe directory | ||
shell: bash | ||
run: git config --global --add safe.directory ${{ inputs.WORKSPACE || github.workspace }} | ||
- name: Grab golangci-lint version | ||
if: ${{ hashFiles('.tool-versions') != '' }} | ||
run: | | ||
GOLANGCI_LINT_VERSION=$(awk '/^golangci-lint[[:space:]]+/ {print "v"$2}' .tool-versions) | ||
echo "GOLANGCI_LINT_VERSION=${GOLANGCI_LINT_VERSION}" >> $GITHUB_ENV | ||
shell: bash | ||
- name: Run Go linter | ||
uses: golangci/golangci-lint-action@v3 | ||
uses: golangci/golangci-lint-action@v4 | ||
with: | ||
skip-cache: true | ||
args: --verbose | ||
version: ${{ inputs.GOLANG_CI_LINT_VERSION }} # Optional - if blank, will use the action's default version resolution | ||
version: ${{ env.GOLANGCI_LINT_VERSION || inputs.GOLANG_CI_LINT_VERSION }} # Optional - if blank, will use the action's default version resolution | ||
- name: Notify slack channel on failure | ||
if: failure() && inputs.SLACK_CHANNEL_ID != null && github.ref == 'refs/heads/main' | ||
uses: slackapi/[email protected] | ||
|
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
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