Skip to content

Commit

Permalink
Bump golang (#8)
Browse files Browse the repository at this point in the history
* Bumping golang to 1.22, fixing #6 

* Updating workflows, fixing #5
  • Loading branch information
thorsager committed Apr 28, 2024
1 parent 465341a commit d321c58
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ">=1.19.0"
go-version: ">=1.22.0"

- name: Build
run: make build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
IMAGE_NAME: ghcr.io/thorsager/surl

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Prepare
id: prep
run: |
echo ::set-output name=tags::${IMAGE_NAME}:latest
echo "tags=${IMAGE_NAME}:latest" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Prepare
id: prep
run: |
echo ::set-output name=tags::${IMAGE_NAME}:${GITHUB_REF##*/}
echo "tags=${IMAGE_NAME}:${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Prepare
id: prep
run: |
echo ::set-output name=tags::${IMAGE_NAME}:${GITHUB_REF/refs\/tags\//}
echo "tags=${IMAGE_NAME}:${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
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/thorsager/surl

go 1.20
go 1.22

require github.com/spf13/pflag v1.0.5

0 comments on commit d321c58

Please sign in to comment.