diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fb8c28..9a18aeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + args: release --rm-dist --skip-publish --snapshot --skip-sign --debug diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a79700..fde22ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ 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 @@ -18,10 +18,10 @@ jobs: 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 }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25a4291..3c9e531 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ No newline at end of file + run: go test -v -race -cover diff --git a/.goreleaser.yml b/.goreleaser.yml index 0dc8aa9..f64e877 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: @@ -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." \ No newline at end of file + description: "Docker-friendly trivial templating for configuration files using environment keys."