Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kataev committed Apr 11, 2024
1 parent e2c1e62 commit dfe7c25
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- run: go test -race -v ./...
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v4
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: goreleaser/goreleaser-action@v1
- uses: goreleaser/goreleaser-action@v5
with:
args: release --clean
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:

jobs:
go-test:
uses: ./.github/workflows/go-test.yml
uses: ./.github/workflows/_go-test.yml
golangci-lint:
uses: ./.github/workflows/golangci-lint.yml
uses: ./.github/workflows/_golangci-lint.yml
goreleaser:
needs:
- go-test
- golangci-lint
uses: ./.github/workflows/goreleaser.yml
uses: ./.github/workflows/_goreleaser.yml
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ on:

jobs:
go-test:
uses: ./.github/workflows/go-test.yml
uses: ./.github/workflows/_go-test.yml
golangci-lint:
uses: ./.github/workflows/golangci-lint.yml
uses: ./.github/workflows/_golangci-lint.yml

0 comments on commit dfe7c25

Please sign in to comment.