diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2862e..0637164 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,11 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.18 - name: Building From Source run: | - go mod tidy -compat=1.17 + go mod tidy -compat=1.18 go run ./scripts/date.go >> date.txt go build -ldflags "-X main.version=$(git describe --abbrev=0 --tags) -X main.buildDate=$(cat date.txt)" -o tran @@ -40,7 +40,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.18 - name: Building From Source run: | @@ -91,7 +91,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.18 - name: Set up `GoReleaser` uses: goreleaser/goreleaser-action@v2 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c3fa0b8..153f516 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.18 - name: Build run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd8efa7..612b241 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,29 +22,29 @@ jobs: persist-credentials: false fetch-depth: 0 - - name: Set up `Go` + - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.18 - - name: Setup `Node.js` + - name: Setup Node.js uses: actions/setup-node@v2.5.0 with: node-version: 16 - - name: Set up `GoReleaser` + - name: Set up GoReleaser uses: goreleaser/goreleaser-action@v2 with: install-only: true - - name: Set up `Task` + - name: Set up Task uses: arduino/setup-task@v1 - - name: Set up `Tag` + - name: Set up Tag id: ghtag run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - - name: Set up `Date` + - name: Set up Date run: go run ./scripts/date.go >> date.txt - name: Build diff --git a/.goreleaser.yml b/.goreleaser.yml index 542f4e9..f9398fc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ release: before: hooks: - - go mod tidy -compat=1.17 + - go mod tidy -compat=1.18 builds: - <<: &build_defaults diff --git a/Taskfile.yaml b/Taskfile.yaml index fb1b53f..4015016 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -20,7 +20,7 @@ tasks: build: cmds: - task: set-tag-and-date - - go mod tidy -compat=1.17 + - go mod tidy -compat=1.18 - go build -ldflags "-X main.version=$(cat tag.txt) -X main.buildDate=$(cat date.txt)" -o tran install: diff --git a/go.mod b/go.mod index 35e6378..7270055 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/abdfnx/tran -go 1.17 +go 1.18 require ( github.com/AlecAivazis/survey/v2 v2.3.4