Skip to content

Commit

Permalink
chore: Update buildifier to v7.3.1.
Browse files Browse the repository at this point in the history
Also fixed ubuntu runner to 22.04 to suppress warnings in CI.
  • Loading branch information
iphydf committed Dec 25, 2024
1 parent b6c1651 commit cb56dbd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [workflow_call]

jobs:
check-release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ on: [workflow_call]

jobs:
buildifier:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install
run: |
BUILDIFIER_URL=https://github.com/bazelbuild/buildtools/releases/download/v6.1.2/buildifier-linux-amd64
BUILDIFIER_URL=https://github.com/bazelbuild/buildtools/releases/download/v7.3.1/buildifier-linux-amd64
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 -O buildifier "$BUILDIFIER_URL"
chmod +x buildifier
- name: Check
run: ./buildifier --lint=warn --warnings=all -mode diff $(find . -type f -name "WORKSPACE" -or -name "BUILD.*")

restyled:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: restyled-io/actions/setup@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on: [workflow_call]

jobs:
stack:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: toxchat/toktok-stack:haskell
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/haskell-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -37,7 +37,7 @@ jobs:

hackage:
name: Publish to Hackage
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v6
Expand Down

0 comments on commit cb56dbd

Please sign in to comment.