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
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-20.04
- ubuntu-22.04
- macos-latest
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -104,7 +104,7 @@ jobs:
go-version-file: "go.mod"

- name: Install dependency required for linux builds
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
run: sudo apt-get update && sudo apt-get install -y libudev-dev

- name: GoReleaser
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-20.04
- ubuntu-22.04
- macos-latest
runs-on: ${{ matrix.os }}
if: github.event_name != 'workflow_dispatch'
Expand All @@ -37,15 +37,15 @@ jobs:
go-version-file: "go.mod"

- name: Install dependency required for linux builds
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
run: sudo apt-get update && sudo apt-get install -y libudev-dev

- name: Add Lowercase Repository Name to Environment
run: |
echo REPOSITORY_NAME_LOWERCASE=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV

- uses: "docker/login-action@v3"
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
with:
registry: "ghcr.io"
username: "${{ github.actor }}"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BIN_DIR := $(CURDIR)/bin
ifeq ($(OS),Darwin)
CONFIG_FILE?=$(CURDIR)/.goreleaser.macos-latest.yml
else ifeq ($(OS),Linux)
CONFIG_FILE?=$(CURDIR)/.goreleaser.ubuntu-20.04.yml
CONFIG_FILE?=$(CURDIR)/.goreleaser.ubuntu-22.04.yml
else
$(error Unsupported build OS: $(OS))
endif
Expand Down
Loading