Skip to content

Commit

Permalink
ci: update actions & go
Browse files Browse the repository at this point in the history
  • Loading branch information
incrementing committed Jul 17, 2023
1 parent 3d843a8 commit e85f50e
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/main.yml → .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,16 @@ env:
jobs:
tests:
name: unit tests
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
go-version:
- 1.x
- 1.16.x
runs-on: ${{ matrix.platform }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
go-version: "1.20"

- name: Cache Go Modules
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
Expand All @@ -51,14 +43,13 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-go@v1
- uses: actions/setup-go@v4
with:
go-version: '1.16'
go-version: '1.20'

- name: golangci-lint
uses: golangci/golangci-lint-action@master
uses: golangci/golangci-lint-action@3
with:
version: v1.39
skip-go-installation: true
version: v1.53.3

0 comments on commit e85f50e

Please sign in to comment.