mirror of
https://github.com/wader/fq.git
synced 2024-11-30 09:58:13 +03:00
Merge pull request #194 from wader/github-actions-update
github: Update action versions
This commit is contained in:
commit
f15e241456
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -13,12 +13,11 @@ jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
go-version: 1.17.7
|
||||
- uses: actions/checkout@v3
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v${{ env.GOLANGCILINT_VERSION }}
|
||||
|
||||
@ -45,12 +44,8 @@ jobs:
|
||||
- name: Install expect
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
run: sudo apt-get install expect
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.17.7
|
||||
- name: Test
|
||||
|
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -12,16 +12,11 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.17.7
|
||||
- name: Run goreleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
- uses: goreleaser/goreleaser-action@v2
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
|
Loading…
Reference in New Issue
Block a user