Skip to content

Commit

Permalink
bump ci version & go1.19 fmt ./...
Browse files Browse the repository at this point in the history
  • Loading branch information
linzhengen committed Oct 5, 2022
1 parent 2d1de76 commit 30deade
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yaml
Expand Up @@ -6,22 +6,27 @@ on:

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: latest

test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.17.x", "1.18.x"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

Expand Down Expand Up @@ -55,13 +60,13 @@ jobs:
# 3. When the workflow is triggered by a tag with `v` prefix
if: ${{ success() && github.repository == 'golang-migrate/migrate' && startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.18.x"

Expand Down
12 changes: 7 additions & 5 deletions source/go_bindata/examples/migrations/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30deade

Please sign in to comment.