Skip to content

Commit

Permalink
build: update PR workflow to use asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalpert committed Aug 4, 2024
1 parent b124454 commit 4b3c627
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4b3c627

Please sign in to comment.