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

update go version and modules #7

Merged
merged 2 commits into from
Jun 26, 2024
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
12 changes: 12 additions & 0 deletions .github/workflows/security-considerations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Security Considerations

on:
pull_request:
types: [opened, edited, reopened]
branches: [main, master, develop]

jobs:
security-considerations:
runs-on: ubuntu-latest
steps:
- uses: cloud-gov/security-considerations-action@main
21 changes: 0 additions & 21 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG base_image

FROM golang:1.21 as builder
FROM golang:1.22 as builder
ADD . /go/src/github.com/cloud-gov/github-pr-resource
WORKDIR /go/src/github.com/cloud-gov/github-pr-resource
RUN curl -sL https://taskfile.dev/install.sh | sh
Expand Down
4 changes: 2 additions & 2 deletions check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package resource_test
import (
"testing"

resource "github.com/cloud-gov/github-pr-resource"
"github.com/cloud-gov/github-pr-resource/fakes"
"github.com/shurcooL/githubv4"
"github.com/stretchr/testify/assert"
resource "github.com/telia-oss/github-pr-resource"
"github.com/telia-oss/github-pr-resource/fakes"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cmd/check/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/telia-oss/github-pr-resource"
resource "github.com/cloud-gov/github-pr-resource"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/in/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/telia-oss/github-pr-resource"
resource "github.com/cloud-gov/github-pr-resource"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/out/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/telia-oss/github-pr-resource"
resource "github.com/cloud-gov/github-pr-resource"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build e2e
// +build e2e

package e2e_test
Expand All @@ -14,7 +15,7 @@ import (
"testing"
"time"

resource "github.com/telia-oss/github-pr-resource"
resource "github.com/cloud-gov/github-pr-resource"

"github.com/google/go-github/v28/github"
"github.com/shurcooL/githubv4"
Expand Down
58 changes: 33 additions & 25 deletions fakes/fake_git.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading