Update dependency prettier to v3.4.2 (#238) #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Run checks | |
on: | |
push: | |
jobs: | |
build: | |
permissions: | |
contents: read | |
packages: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build devcontainer image | |
uses: devcontainers/ci@v0.3 | |
with: | |
cacheFrom: ghcr.io/marinatedconcrete/config-devcontainer | |
env: | | |
CI=1 | |
imageName: ghcr.io/marinatedconcrete/config-devcontainer | |
push: filter | |
refFilterForPush: refs/heads/main | |
check-format: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Check formatting | |
uses: devcontainers/ci@v0.3 | |
with: | |
cacheFrom: ghcr.io/marinatedconcrete/config-devcontainer | |
env: | | |
CI=1 | |
imageName: ghcr.io/marinatedconcrete/config-devcontainer | |
push: never | |
runCmd: just check-format | |
lint: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Validate configs | |
uses: devcontainers/ci@v0.3 | |
with: | |
cacheFrom: ghcr.io/marinatedconcrete/config-devcontainer | |
env: | | |
CI=1 | |
imageName: ghcr.io/marinatedconcrete/config-devcontainer | |
push: never | |
runCmd: just lint | |
test: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Validate configs | |
uses: devcontainers/ci@v0.3 | |
with: | |
cacheFrom: ghcr.io/marinatedconcrete/config-devcontainer | |
env: | | |
CI=1 | |
imageName: ghcr.io/marinatedconcrete/config-devcontainer | |
push: never | |
runCmd: just test |