Upgrade github actions versions to latest and update deprecated options (#1319)

Co-authored-by: M. Mert Yildiran <me@mertyildiran.com>
This commit is contained in:
Christopher Redwine
2023-03-19 12:20:47 -05:00
committed by GitHub
parent 9b66600602
commit b05dbed71e
3 changed files with 20 additions and 18 deletions

View File

@@ -15,17 +15,17 @@ jobs:
timeout-minutes: 20
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up Go 1.17
uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.17'
go-version-file: 'go.mod'
- name: Test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3