1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: run on macos latest only

This commit is contained in:
Alexander Medvednikov 2019-12-27 19:17:06 +01:00
parent 06fba73ab9
commit e71b99c528

View File

@ -12,7 +12,7 @@ jobs:
echo "Changed files compared to origin/master are:" && git diff --name-status origin/master HEAD -- '*.v' echo "Changed files compared to origin/master are:" && git diff --name-status origin/master HEAD -- '*.v'
- name: Build v (there is no need for dependencies for fmt) - name: Build v (there is no need for dependencies for fmt)
run: make -j4 run: make -j4
- name: Build a production tools/vfmt - name: Build a production tools/vfmt
run: ./v -prod -d vfmt tools/vfmt.v run: ./v -prod -d vfmt tools/vfmt.v
- name: fmt only the changed files (from master) - name: fmt only the changed files (from master)
run: git diff --name-status origin/master HEAD -- '*.v' |grep -v '^D'|rev|cut -f1|rev| xargs ./v fmt -diff run: git diff --name-status origin/master HEAD -- '*.v' |grep -v '^D'|rev|cut -f1|rev| xargs ./v fmt -diff
@ -60,7 +60,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [macOS-10.14, macOS-latest] os: [macOS-latest]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1