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

This commit is contained in:
ayntgl 2022-08-29 15:42:38 +05:30 • committed by GitHub
parent c6393e2a1f
commit 6d589a5e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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