I write pragma solidity ^0.7.0 and it give me mistake
Compiling your contracts...
===========================
> Compiling ./contracts/ICO.sol
> Compiling ./contracts/Migrations.sol
> Compiling ./contracts/Token.sol
> Compiling @openzeppelin/contracts/math/SafeMath.sol
> Compiling @openzeppelin/contracts/token/ERC20/ERC20.sol
> Compiling @openzeppelin/contracts/token/ERC20/IERC20.sol
CompileError: @openzeppelin/contracts/math/SafeMath.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.7.0+commit.9e61f92b.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.6.0;
^---------------------^
,@openzeppelin/contracts/token/ERC20/ERC20.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.7.0+commit.9e61f92b.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.6.0;
^---------------------^
,@openzeppelin/contracts/token/ERC20/IERC20.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.7.0+commit.9e61f92b.Emscripten.clang) - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.6.0;
^---------------------^
Error: Truffle is currently using solc 0.7.0, but one or more of your contracts specify "pragma solidity ^0.6.0".
Please update your truffle config or pragma statement(s).
(See https://trufflesuite.com/docs/truffle/reference/configuration#compiler-configuration for information on
configuring Truffle to use a specific solc compiler version.)
Compilation failed. See above.
at run (/home/asven/.nvm/versions/node/v14.15.0/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/run.js:51:1)
at Object.sourcesWithDependencies (/home/asven/.nvm/versions/node/v14.15.0/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/index.js:107:49)
at necessary (/home/asven/.nvm/versions/node/v14.15.0/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/index.js:69:1)
at /home/asven/.nvm/versions/node/v14.15.0/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:38:1
at async Promise.all (index 0)
at compile (/home/asven/.nvm/versions/node/v14.15.0/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:28:1)
at Object.compile (/home/asven/.nvm/versions/node/v14.15.0/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/index.js:67:38)
Truffle v5.1.54 (core: 5.1.54)
Node v14.15.0
in truffle-confige.js solc ^0.7.0