Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update GH action uses to their latest versions. #67

Merged
merged 1 commit into from
Aug 11, 2023
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/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checkout TokTok/ci-tools
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: TokTok/ci-tools
path: ci-tools
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ jobs:
buildifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install
run: |
BUILDIFIER_URL=https://github.com/bazelbuild/buildtools/releases/download/5.0.1/buildifier-linux-amd64
wget -O buildifier "$BUILDIFIER_URL" ||
wget -O buildifier "$BUILDIFIER_URL" ||
wget -O buildifier "$BUILDIFIER_URL"
BUILDIFIER_URL=https://github.com/bazelbuild/buildtools/releases/download/6.1.2/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.*")
2 changes: 1 addition & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
container: toxchat/toktok-stack:haskell
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run tests
run: stack test
- name: Build source package
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/haskell-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
file: .github/docker/Dockerfile
push: true
Expand All @@ -40,20 +40,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Checkout TokTok/ci-tools
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: TokTok/ci-tools
path: ci-tools

- uses: actions/setup-haskell@v1
- uses: actions/setup-haskell@v1.1
with:
ghc-version: ${{ inputs.ghc-version }}
cabal-version: ${{ inputs.cabal-version }}

- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
env:
ghc-version: ${{ inputs.ghc-version }}
cache-name: cache-cabal
Expand Down
Loading