Skip to content
Open
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: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ jobs:
lint:
runs-on: ubuntu-24.04
container:
image: fedora:41
image: quay.io/centos/centos:stream10
steps:
- name: dnf install dependencies
run: |
dnf config-manager --set-enabled crb -y && \
dnf install epel-release -y && \
Comment on lines +13 to +14
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] I was wondering about the -y flag at the end of the command instead of after install as we usually do.

Looking at the documentation, it looks like the expected location of -y is right after dnf ([GLOBAL OPTIONS]). So we never do it right... It works that way, so it's probably fine.

dnf install -y \
git \
golang \
Expand Down
Loading