Skip to content

Commit

Permalink
Merge pull request #54 from kreuzwerker/update-actions-versions-binar…
Browse files Browse the repository at this point in the history
…ies-ubuntu-22.04

✨ Update setup-go and actions/checkout versions.
  • Loading branch information
enc authored Apr 26, 2024
2 parents 289fb48 + 5c848c4 commit a3dd47f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ on:

jobs:
binaries:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist --skip-publish --snapshot --skip-sign --debug
args: release --rm-dist --skip-publish --snapshot --skip-sign --debug
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Setup Prerequisites
run: |
chmod 765 test/filemode.txt
- name: Run tests
run: go test -v -race -cover
run: go test -v -race -cover
10 changes: 3 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ builds:
- amd64
- "386"
goarm:
- 6
- "6"
main: ./bin/ep.go
archives:
- replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
- id: default
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -36,4 +32,4 @@ brews:
name: homebrew-taps
token: "{{ .Env.GORELEASER_TOKEN }}"
homepage: "https://github.com/kreuzwerker/envplate"
description: "Docker-friendly trivial templating for configuration files using environment keys."
description: "Docker-friendly trivial templating for configuration files using environment keys."

0 comments on commit a3dd47f

Please sign in to comment.