Skip to content

Commit

Permalink
Merge pull request #88 from hikhvar/update-actions
Browse files Browse the repository at this point in the history
Update action versions and go versions
  • Loading branch information
hikhvar committed Aug 21, 2022
2 parents 0c1b5f0 + 7c10f94 commit 1b7efee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v3
with:
go-version: 1.15.x
go-version: 1.19.x
- name: Test
run: go test -cover ./...
- name: Vet
Expand All @@ -38,10 +38,10 @@ jobs:
echo '{"experimental": true}' | sudo tee -a /etc/docker/daemon.json
sudo systemctl restart docker
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_CLI_EXPERIMENTAL: enabled
DOCKER_CLI_EXPERIMENTAL: enabled
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
# Test oldest and newest supported version
go-version: [1.14.x, 1.17.x]
go-version: [1.14.x, 1.19.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
Expand Down Expand Up @@ -43,9 +43,9 @@ jobs:
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v3
with:
go-version: 1.15.x
go-version: 1.19.x
- name: Test
run: go test -cover ./...
- name: Vet
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist --skip-publish
args: release --rm-dist --skip-publish
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ config.yaml
bin/
vendor
dist
.vscode
.vscode
.idea

0 comments on commit 1b7efee

Please sign in to comment.