Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
chore: Synced file(s) with cloudquery/.github (#316)
Browse files Browse the repository at this point in the history
Synced local file(s) with [cloudquery/.github](https://github.com/cloudquery/.github).





---

This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#2446082636](https://github.com/cloudquery/.github/actions/runs/2446082636)
  • Loading branch information
cq-bot authored Jun 6, 2022
1 parent 7e75799 commit 67d776f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All files in this folder were created and synced from cloudquery/.github
16 changes: 0 additions & 16 deletions .github/workflows/add_tags.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lint_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
if: steps.changes.outputs.src == 'true' || github.event_name != 'pull_request'
uses: golangci/golangci-lint-action@v3
with:
version: v1.46.1
version: v1.46.2
args: --timeout 10m --verbose
25 changes: 20 additions & 5 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
unitests:
strategy:
matrix:
dbversion: ['postgres:latest']
go: ['1.16']
dbversion: ['postgres:10']
go: ['1.17']
platform: [ ubuntu-latest]
runs-on: ${{ matrix.platform }}
services:
Expand All @@ -31,11 +31,26 @@ jobs:
--health-retries 5
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ^1.16
go-version: ^${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go }}-
- run: go mod download
- name: Test
run: go test -v ./...

0 comments on commit 67d776f

Please sign in to comment.