Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Clean Up Actions Tools Cache
run: rm -rf /opt/hostedtoolcache

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0

Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ jobs:
name: GoReleaser Job
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Clean Up Actions Tools Cache
run: rm -rf /opt/hostedtoolcache

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0

Expand All @@ -23,33 +27,33 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Set Up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6.1.0
with:
go-version-file: go.mod
check-latest: true

- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v3.7.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.11.1

- name: Authenticate to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v3.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Authenticate to DockerHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v3.6.0
with:
registry: docker.io
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
uses: goreleaser/goreleaser-action@v6.4.0
with:
distribution: goreleaser
version: "~> v2"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/testdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ jobs:
timeout-minutes: 30

steps:
- name: Clean Up Actions Tools Cache
run: rm -rf /opt/hostedtoolcache

- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1

- name: Fetch Hauler Binary
run: curl -sfL https://get.hauler.dev | bash
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ jobs:
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Clean Up Actions Tools Cache
run: rm -rf /opt/hostedtoolcache

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0

Expand All @@ -26,13 +30,13 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Set Up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6.1.0
with:
go-version-file: go.mod
check-latest: true

- name: Install Go Releaser
uses: goreleaser/goreleaser-action@v6
uses: goreleaser/goreleaser-action@v6.4.0
with:
install-only: true

Expand All @@ -47,13 +51,13 @@ jobs:
make build-all

- name: Upload Hauler Binaries
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.6.2
with:
name: hauler-binaries
path: dist/*

- name: Upload Coverage Report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.6.2
with:
name: coverage-report
path: coverage.out
Expand All @@ -63,9 +67,13 @@ jobs:
runs-on: ubuntu-latest
needs: [unit-tests]
timeout-minutes: 30

steps:
- name: Clean Up Actions Tools Cache
run: rm -rf /opt/hostedtoolcache

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0

Expand All @@ -81,7 +89,7 @@ jobs:
sudo apt-get install -y tree

- name: Download Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6.0.0
with:
name: hauler-binaries
path: dist
Expand Down Expand Up @@ -325,7 +333,7 @@ jobs:
hauler store info

- name: Upload Hauler Report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.6.2
with:
name: hauler-report
path: hauler-report.txt
Expand Down