Browse Source

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

ayntgl 3 years ago
parent
commit
6d589a5e99
1 changed files with 4 additions and 7 deletions
  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]
         os: [ubuntu-latest, windows-latest, macos-latest]
     runs-on: ${{ matrix.os }}
     runs-on: ${{ matrix.os }}
     steps:
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
 
-      - uses: actions/setup-go@v2
+      - uses: actions/setup-go@v3
         with:
         with:
-          go-version: '^1.17'
+          go-version: '^1.19'
 
 
       - name: Format
       - name: Format
         run: make fmt
         run: make fmt
 
 
-      - name: Test
-        run: make test
-
       - name: Build
       - name: Build
         run: make 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) }}
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
         with:
         with:
           name: discordo_${{ runner.os }}_${{ runner.arch }}
           name: discordo_${{ runner.os }}_${{ runner.arch }}