diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7f2f796..e5e0995 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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/setup-ruby@v1.150.0 -# 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/git-chglog@v0.15.1 - -# - 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