-
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.
build: update PR workflow to use asdf
- Loading branch information
1 parent
b124454
commit 4b3c627
Showing
1 changed file
with
4 additions
and
23 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 |
---|---|---|
|
@@ -39,36 +39,17 @@ jobs: | |
reporter: github-pr-check | ||
version: 2.17.0 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v3 | ||
- name: Install asdf & tools # except ruby; not required for releasing | ||
uses: asdf-vm/actions/install@v3 | ||
with: | ||
go-version: '1.17.0' | ||
|
||
- name: Install Task | ||
uses: arduino/setup-task@v1 | ||
|
||
# - name: Setup Ruby, JRuby and TruffleRuby # for integration testing | ||
# uses: ruby/[email protected] | ||
# with: | ||
# ruby-version: 3.0.2 | ||
before_install: "sed -E -i '/^ruby.+$/d' .tool-versions" | ||
|
||
- name: Setup build dependencies | ||
run: | | ||
go install github.com/restechnica/semverbot/cmd/sbot@latest | ||
go install github.com/siderolabs/conform/cmd/conform@latest | ||
go install github.com/git-chglog/git-chglog/cmd/[email protected] | ||
# - name: Validate build dependencies | ||
# run: | | ||
# task doctor | ||
asdf reshim golang | ||
- name: Unit tests | ||
run: | | ||
task test | ||
# - name: "Features" | ||
# env: | ||
# REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: | | ||
# set -o pipefail | ||
# task features | reviewdog -name=features -fail-on-error=true -efm="cucumber %f:%l # Scenario: %m" -diff="git diff FETCH_HEAD" -filter-mode=nofilter -reporter=github-pr-check -tee |