1
1
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:
Mattias Wadman 2022-03-12 20:07:10 +01:00 committed by GitHub
commit f15e241456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 19 deletions

View File

@ -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

View File

@ -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