Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go1.20, codeowners & GH workflow #1

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @elsesiy
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: ci
on:
pull_request:
jobs:
ci_job:
name: test
runs-on: ubuntu-22.04
container:
image: golang:1.20
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: go test -count=1 -v -short -race -timeout 30s ./...
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 AS build-env
FROM golang:1.20 AS build-env

WORKDIR /qrgo
COPY main.go go.mod go.sum ./
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/elsesiy/qrgo

go 1.18
go 1.20

require github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e