Skip to content

Commit

Permalink
chore: bump mage and make pipelines open-source ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Voltaire authored and viktorvoltaire committed Dec 21, 2021
1 parent 232e862 commit 52720c2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 23 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
pull_request:
types: [opened, reopened, synchronize]

env:
GOPRIVATE: github.com/einride/*,go.einride.tech/*

jobs:

build:
Expand All @@ -19,12 +16,5 @@ jobs:
with:
go-version: ^1.17

- name: Configure git for private modules
env:
TOKEN: ${{ secrets.EINRIDEBOT_PERSONAL_ACCESS_TOKEN }}
run: git config --global url."https://git:${TOKEN}@github.com/einride/".insteadOf "https://github.com/einride/"

- name: Make
env:
GITHUB_TOKEN: ${{ secrets.EINRIDEBOT_PERSONAL_ACCESS_TOKEN }}
run: make
7 changes: 0 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,7 @@ jobs:
with:
node-version: ^14

- name: Configure git for private modules
env:
TOKEN: ${{ secrets.EINRIDEBOT_PERSONAL_ACCESS_TOKEN }}
run: git config --global url."https://git:${TOKEN}@github.com/einride/".insteadOf "https://github.com/einride/"

- name: Make
env:
GITHUB_TOKEN: ${{ secrets.EINRIDEBOT_PERSONAL_ACCESS_TOKEN }}
run: make

- name: Release
Expand Down
2 changes: 1 addition & 1 deletion .mage/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module go.einride.tech/mage-tools/.mage
go 1.17

require (
github.com/magefile/mage v1.11.1-0.20210928193738-dd944245e253
github.com/magefile/mage v1.12.1
go.einride.tech/mage-tools v0.0.0-00010101000000-000000000000
)

Expand Down
4 changes: 2 additions & 2 deletions .mage/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0=
github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/magefile/mage v1.11.1-0.20210928193738-dd944245e253 h1:esjLX+uOgPIYM7xmf1Cqa+sfJzBtGdMlMujVWqfrQvM=
github.com/magefile/mage v1.11.1-0.20210928193738-dd944245e253/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
github.com/magefile/mage v1.12.1 h1:oGdAbhIUd6iKamKlDGVtU6XGdy5SgNuCWn7gCTgHDtU=
github.com/magefile/mage v1.12.1/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ require (
github.com/go-logr/logr v1.2.2
github.com/google/uuid v1.3.0
github.com/iancoleman/strcase v0.2.0
github.com/magefile/mage v1.11.1-0.20210928193738-dd944245e253
github.com/magefile/mage v1.12.1
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0=
github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/magefile/mage v1.11.1-0.20210928193738-dd944245e253 h1:esjLX+uOgPIYM7xmf1Cqa+sfJzBtGdMlMujVWqfrQvM=
github.com/magefile/mage v1.11.1-0.20210928193738-dd944245e253/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
github.com/magefile/mage v1.12.1 h1:oGdAbhIUd6iKamKlDGVtU6XGdy5SgNuCWn7gCTgHDtU=
github.com/magefile/mage v1.12.1/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=

0 comments on commit 52720c2

Please sign in to comment.