Skip to content

Commit

Permalink
Upgrade Docker PHP version to 8.3-cli-alpine (#25)
Browse files Browse the repository at this point in the history
The Docker PHP version has been upgraded to 8.3-cli-alpine. The
corresponding changes are reflected in the README file with the task
marked as complete. A new task about ignoring file name patterns has
also been added to the to-do list in the README file.
  • Loading branch information
SmetDenis committed Mar 14, 2024
1 parent 9242718 commit 1e8fe32
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
name: Demo

on:
pull_request:
branches:
- "*"
push:
branches:
- 'master'
release:
types: [ published ]

env:
COLUMNS: 120
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# @see https://github.com/JBZoo/Csv-Blueprint
#

FROM php:8.1-cli-alpine
FROM php:8.3-cli-alpine
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

# Install PHP extensions
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ Batch processing
* [x] ~~Quick stop flag. If the first error is found, then stop the validation process to save time.~~
* [ ] If option `--csv` is not specified, then the STDIN is used. To build a pipeline in Unix-like systems.
* [ ] Discovering CSV files by `filename_pattern` in the schema file. In case you have a lot of schemas and a lot of CSV files and want to automate the process as one command.
* [ ] Flag to ignore file name pattern. It's useful when you have a lot of files and you don't want to validate the file name.

Validation
* [x] ~~`filename_pattern` validation with regex (like "all files in the folder should be in the format `/^[\d]{4}-[\d]{2}-[\d]{2}\.csv$/`").~~
* [ ] Flag to ignore file name pattern. It's useful when you have a lot of files and you don't want to validate the file name.
* [ ] Keyword for null value. Configurable. By default, it's an empty string. But you can use `null`, `nil`, `none`, `empty`, etc. Overridable on the column level.
* [ ] Agregate rules (like "at least one of the fields should be not empty" or "all values must be unique").
* [ ] Handle empty files and files with only a header row, or only with one line of data. One column wthout header is also possible.
Expand All @@ -393,7 +393,7 @@ Validation

Release workflow
* [ ] Build and release Docker image [via GitHub Actions, tags and labels](https://docs.docker.com/build/ci/github-actions/manage-tags-labels/). Review it.
* [ ] Upgrading to PHP 8.3.x
* [x] ~~Upgrad Docker to PHP 8.3.x~~
* [ ] Build phar file and release via GitHub Actions.
* [ ] Auto insert tool version into the Docker image and phar file. It's important to know the version of the tool you are using.
* [ ] Show version as part of output.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# @see https://github.com/JBZoo/Csv-Blueprint
#

name: 'CSV Blueprint - Validator by schemas'
name: 'CSV Blueprint - Lint and validate by schemas'
description: 'Strict and flexible schema-based CSV file validation with the ability to report as GitHub Annotations in your PRs.'
author: 'Denis Smetannikov <admin@jbzoo.com>'

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"jbzoo",
"csv",
"csv-validator",
"csv-linter",
"csv-validation",
"csv-generation",
"csv-format",
Expand Down

0 comments on commit 1e8fe32

Please sign in to comment.