Skip to content

Commit

Permalink
CI: update setup-go and checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
guptarohit committed Jun 18, 2023
1 parent 4f4ebcd commit 2f4643b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v2
- uses: actions/setup-go@v4
with:
go-version: ~1.17
- uses: docker/setup-qemu-action@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2

test:
strategy:
matrix:
go-version: [1.x, 1.8.x, 1.9.x, 1.10.x, 1.17.x]
go-version: [1.x, 1.17.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/guptarohit/asciigraph
- name: Set up GOPATH
Expand Down

0 comments on commit 2f4643b

Please sign in to comment.