Skip to content

Commit cf5bc56

Browse files
committed
Drop the v2- prefix on cabal commands.
1 parent 9478e4c commit cf5bc56

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/cabal.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -47,62 +47,62 @@ jobs:
4747

4848
- name: update
4949
run: |
50-
cabal v2-update
50+
cabal update
5151
5252
- name: build examples
5353
if: ${{ matrix.ghc == '8.2.2' }}
54-
run: cabal v2-build uom-plugin-examples
54+
run: cabal build uom-plugin-examples
5555

5656
- name: test thoralf-plugin-rows:rows
57-
run: cabal v2-test thoralf-plugin-rows:rows --test-show-details=direct --test-option="--color=always"
57+
run: cabal test thoralf-plugin-rows:rows --test-show-details=direct --test-option="--color=always"
5858

5959
- name: test thoralf-plugin-uom:defs
60-
run: cabal v2-test thoralf-plugin-uom:defs --test-show-details=direct --test-option="--color=always"
60+
run: cabal test thoralf-plugin-uom:defs --test-show-details=direct --test-option="--color=always"
6161

6262
- name: test thoralf-plugin-uom:force
63-
run: cabal v2-test thoralf-plugin-uom:force --test-show-details=direct --test-option="--color=always"
63+
run: cabal test thoralf-plugin-uom:force --test-show-details=direct --test-option="--color=always"
6464

6565
- name: test thoralf-plugin-uom:delay-eq
66-
run: cabal v2-test thoralf-plugin-uom:delay-eq --test-show-details=direct --test-option="--color=always"
66+
run: cabal test thoralf-plugin-uom:delay-eq --test-show-details=direct --test-option="--color=always"
6767

6868
- name: test thoralf-plugin-uom:units
69-
run: cabal v2-test thoralf-plugin-uom:units --test-show-details=direct --test-option="--color=always"
69+
run: cabal test thoralf-plugin-uom:units --test-show-details=direct --test-option="--color=always"
7070

7171
- name: test thoralf-plugin-uom:uom-diy
72-
run: cabal v2-test thoralf-plugin-uom:uom-diy --test-show-details=direct --test-option="--color=always"
72+
run: cabal test thoralf-plugin-uom:uom-diy --test-show-details=direct --test-option="--color=always"
7373

7474
- name: test thoralf-plugin-uom:uom-quantity
75-
run: cabal v2-test thoralf-plugin-uom:uom-quantity --test-show-details=direct --test-option="--color=always"
75+
run: cabal test thoralf-plugin-uom:uom-quantity --test-show-details=direct --test-option="--color=always"
7676

7777
- name: build thoralf-plugin-defs
7878
run: cabal build thoralf-plugin-defs
7979

8080
- name: test uom-plugin:defs with ghc-8.2.2
8181
if: ${{ matrix.ghc == '8.2.2' }}
82-
run: cabal v2-test uom-plugin:defs --test-show-details=direct --test-option="--color=always"
82+
run: cabal test uom-plugin:defs --test-show-details=direct --test-option="--color=always"
8383

8484
- name: test uom-plugin:defs with ghc-9.2.1
8585
if: ${{ matrix.ghc == '9.2.1' }}
86-
run: cabal v2-test uom-plugin:defs --test-show-details=direct --test-option="--color=always"
86+
run: cabal test uom-plugin:defs --test-show-details=direct --test-option="--color=always"
8787

8888
- name: test uom-plugin:units with ghc-8.2.2
8989
if: ${{ matrix.ghc == '8.2.2' }}
90-
run: cabal v2-test uom-plugin:units --test-show-details=direct --test-option="--color=always"
90+
run: cabal test uom-plugin:units --test-show-details=direct --test-option="--color=always"
9191

9292
- name: test uom-plugin:units with ghc-9.2.1
9393
if: ${{ matrix.ghc == '9.2.1' }}
94-
run: cabal v2-test uom-plugin:units --test-show-details=direct --test-option="--color=always"
94+
run: cabal test uom-plugin:units --test-show-details=direct --test-option="--color=always"
9595

9696
- name: test uom-quantity:doctest
97-
run: cabal v2-test uom-quantity:doctest --test-show-details=direct --test-option="--color=always"
97+
run: cabal test uom-quantity:doctest --test-show-details=direct --test-option="--color=always"
9898

9999
- name: test uom-plugin-tutorial:doctest with ghc-8.2.2
100100
if: ${{ matrix.ghc == '8.2.2' }}
101-
run: cabal v2-test uom-plugin-tutorial:doctest --test-show-details=direct --test-option="--color=always"
101+
run: cabal test uom-plugin-tutorial:doctest --test-show-details=direct --test-option="--color=always"
102102

103103
- name: test uom-plugin-tutorial:doctest with ghc-9.2.1
104104
if: ${{ matrix.ghc == '9.2.1' }}
105-
run: cabal v2-test uom-plugin-tutorial:doctest --test-show-details=direct --test-option="--color=always"
105+
run: cabal test uom-plugin-tutorial:doctest --test-show-details=direct --test-option="--color=always"
106106

107107
- uses: rwe/actions-hlint-run@v2
108108
name: hlint

0 commit comments

Comments
 (0)