Просмотр исходного кода

ci: update go & actions' version (#197)

ayntgl 3 лет назад
Родитель
Сommit
6d589a5e99
1 измененных файлов с 4 добавлено и 7 удалено
  1. 4 7
      .github/workflows/ci.yml

+ 4 - 7
.github/workflows/ci.yml

@@ -9,22 +9,19 @@ jobs:
         os: [ubuntu-latest, windows-latest, macos-latest]
     runs-on: ${{ matrix.os }}
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
-      - uses: actions/setup-go@v2
+      - uses: actions/setup-go@v3
         with:
-          go-version: '^1.17'
+          go-version: '^1.19'
 
       - name: Format
         run: make fmt
 
-      - name: Test
-        run: make test
-
       - name: Build
         run: make build
   
-      - uses: actions/upload-artifact@v2
+      - uses: actions/upload-artifact@v3
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
         with:
           name: discordo_${{ runner.os }}_${{ runner.arch }}