mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-05 16:29:52 -06:00
Fixed build and tests
This commit is contained in:
2
.github/workflows/test-code.yml
vendored
2
.github/workflows/test-code.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.16.4'
|
||||
go-version: '^1.17'
|
||||
- run: go test ./... -parallel 8 --tags=test,awsmock
|
||||
- run: go clean -testcache
|
||||
- run: go test ./... -parallel 8 --tags=test,noaws
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.16.6 AS build_base
|
||||
FROM golang:1.17 AS build_base
|
||||
|
||||
## Usage:
|
||||
## docker build . -t gokapi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.16.6
|
||||
FROM golang:1.17
|
||||
|
||||
## To compile:
|
||||
## cd Gokapi/build/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module Gokapi
|
||||
|
||||
go 1.16
|
||||
go 1.17
|
||||
|
||||
require (
|
||||
github.com/aws/aws-sdk-go v1.38.36
|
||||
|
||||
Reference in New Issue
Block a user