|
@@ -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 }}
|